You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2012/07/24 20:03:33 UTC

[jira] [Created] (KAFKA-413) single_host_multi_brokers system test fails on laptop

Jun Rao created KAFKA-413:
-----------------------------

             Summary: 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


 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

        

[jira] [Assigned] (KAFKA-413) single_host_multi_brokers system test fails on laptop

Posted by "John Fung (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Fung reassigned KAFKA-413:
-------------------------------

    Assignee: John Fung
    
> 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
>
>  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

        

[jira] [Updated] (KAFKA-413) single_host_multi_brokers system test fails on laptop

Posted by "John Fung (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Fung updated KAFKA-413:
----------------------------

    Status: Patch Available  (was: Open)
    
> 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
>         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

        

[jira] [Updated] (KAFKA-413) single_host_multi_brokers system test fails on laptop

Posted by "Jun Rao (JIRA)" <ji...@apache.org>.
     [ 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

        

[jira] [Updated] (KAFKA-413) single_host_multi_brokers system test fails on laptop

Posted by "John Fung (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Fung updated KAFKA-413:
----------------------------

    Attachment: kafka-413-v1.patch

Hi Jun,

The issue is due to the different shell command line options in Linux and MacOS. This is now fixed by using generic shell commands in kafka-413-v1.patch.

Thanks,
John
                
> 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
>         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