[ https://issues.apache.org/jira/browse/KAFKA-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14055831#comment-14055831 ]
Jun Rao commented on KAFKA-1019: -------------------------------- In general, /brokers/topics/[topic]/partitions should be immediately available after a topic is created. Not sure how you get to this state. One possibility is that the controller somehow lost its registered ZK watcher and therefore didn't act on newly created topics. Could you verify that the topic watcher is still registered by the controller? If not, could you make sure that you are using ZK 3.3.4? > 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)