[ 
https://issues.apache.org/jira/browse/KAFKA-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056456#comment-14056456
 ] 

Jun Rao commented on KAFKA-1019:
--------------------------------

I am not sure how reliable ZK 3.4.6 is. If you check the ZK admin page, it 
shows you the command of listing all watchers registered. You want to check if 
there is a child watcher on /brokers/topics.

Another thing is to avoid ZK session expiration, since it may expose some 
corner case bugs.

> kafka-preferred-replica-election.sh will fail without clear error message if 
> /brokers/topics/[topic]/partitions does not exist
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1019
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1019
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1
>            Reporter: Guozhang Wang
>              Labels: newbie
>             Fix For: 0.8.2
>
>
> From Libo Yu:
> I tried to run kafka-preferred-replica-election.sh on our kafka cluster.
> But I got this expection:
> Failed to start preferred replica election
> org.I0Itec.zkclient.exception.ZkNoNodeException: 
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /brokers/topics/uattoqaaa.default/partitions
> I checked zookeeper and there is no 
> /brokers/topics/uattoqaaa.default/partitions. All I found is
> /brokers/topics/uattoqaaa.default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to