[ 
https://issues.apache.org/jira/browse/KAFKA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Rao updated KAFKA-413:
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.8
           Status: Resolved  (was: Patch Available)

Thanks for the patch. Committed.
                
> single_host_multi_brokers system test fails on laptop
> -----------------------------------------------------
>
>                 Key: KAFKA-413
>                 URL: https://issues.apache.org/jira/browse/KAFKA-413
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: John Fung
>             Fix For: 0.8
>
>         Attachments: kafka-413-v1.patch
>
>
>  I got the following exception when running 
> system_test/single_host_multi_brokers/bin/run-test.sh. This seems to only 
> happen on laptop, not desktop.
> 2012-07-24 00:22:51 cleaning up kafka server log/data dir 
> 2012-07-24 00:22:53 starting zookeeper 
> 2012-07-24 00:22:55 starting cluster 
> 2012-07-24 00:22:55 starting kafka server 
> 2012-07-24 00:22:55 -> kafka_pids[1]: 75282 
> 2012-07-24 00:22:55 starting kafka server 
> 2012-07-24 00:22:55 -> kafka_pids[2]: 75286 
> 2012-07-24 00:22:55 starting kafka server 
> 2012-07-24 00:22:55 -> kafka_pids[3]: 75291 
> 2012-07-24 00:22:57 creating topic [mytest] on [localhost:2181] 
> creation failed because of 
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /brokers/ids 
> org.I0Itec.zkclient.exception.ZkNoNodeException: 
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /brokers/ids 
> 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 kafka.utils.ZkUtils$.getChildren(ZkUtils.scala:363) 
> at kafka.utils.ZkUtils$.getSortedBrokerList(ZkUtils.scala:80) 
> at kafka.admin.CreateTopicCommand$.createTopic(CreateTopicCommand.scala:86) 
> at kafka.admin.CreateTopicCommand$.main(CreateTopicCommand.scala:73) 
> at kafka.admin.CreateTopicCommand.main(CreateTopicCommand.scala) 
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
> KeeperErrorCode = NoNode for /brokers/ids 
> 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:1249) 
> at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1277) 
> 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) 
> ... 7 more 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to