# ZK quorum IPs; if empty, the use demo mode
druid.zk.service.host=
127.0.0.1:2181
# msec; high value means tolerate slow zk nodes, default is to wait about 3 weeks
druid.zk.service.connectionTimeout=1000000
# ZK path for service discovery within the cluster
druid.zk.paths.announcementsPath=/druid/announcementsPath
# Legacy path, must be set, but can be ignored
druid.zk.paths.indexesPath=/druid/indexesPath
druid.zk.paths.indexer.tasksPath=/druid/tasksPath
druid.zk.paths.indexer.statusPath=/druid/statusPath
# ZK path for load/drop protocol between Master/Compute
druid.zk.paths.loadQueuePath=/druid/loadQueuePath
# ZK path for Master leadership election
druid.zk.paths.masterPath=/druid/masterPath
# ZK path for publishing served segments
druid.zk.paths.servedSegmentsPath=/druid/servedSegmentsPath
druid.zk.paths.discoveryPath=/druid/discoveryPath
2013-02-12 16:28:07,227 INFO [main] com.metamx.common.lifecycle.Lifecycle$AnnotationBasedHandler - Invoking start method[public void com.metamx.druid.master.DruidMaster.start()] on object[com.metamx.druid.master.DruidMaster@180a1d7b].
2013-02-12 16:28:07,272 INFO [main] com.metamx.druid.master.DruidMaster - I am the master, all must bow!
2013-02-12 16:28:07,290 WARN [DatabaseSegmentManager-Exec--0] com.metamx.druid.db.DatabaseSegmentManager - No segments found in the database!
2013-02-12 16:28:07,326 ERROR [main] com.metamx.druid.http.ServerMain - Error when starting up. Failing.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.metamx.common.lifecycle.Lifecycle$AnnotationBasedHandler.start(Lifecycle.java:108)
at com.metamx.common.lifecycle.Lifecycle.start(Lifecycle.java:54)
at com.metamx.druid.http.MasterMain.main(MasterMain.java:198)
Caused by: org.I0Itec.zkclient.exception.ZkNoNodeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /druid/announcementsPath
at org.I0Itec.zkclient.exception.ZkException.create(ZkException.java:47)
at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:685)
at org.I0Itec.zkclient.ZkClient.getChildren(ZkClient.java:413)
at org.I0Itec.zkclient.ZkClient.getChildren(ZkClient.java:409)
at com.metamx.druid.client.ZKPhoneBook$InternalPhoneBook.registerListener(ZKPhoneBook.java:315)
at com.metamx.phonebook.BasePhoneBook.registerListener(BasePhoneBook.java:176)
at com.metamx.druid.client.InventoryManager.start(InventoryManager.java:102)
at com.metamx.druid.master.DruidMaster.becomeMaster(DruidMaster.java:426)
at com.metamx.druid.master.DruidMaster.start(DruidMaster.java:376)
... 7 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /druid/announcementsPath
at org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1243)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1271)
at org.I0Itec.zkclient.ZkConnection.getChildren(ZkConnection.java:99)
at org.I0Itec.zkclient.ZkClient$2.call(ZkClient.java:416)
at org.I0Itec.zkclient.ZkClient$2.call(ZkClient.java:413)
at org.I0Itec.zkclient.ZkClient.retryUntilConnected(ZkClient.java:675)
... 14 more