You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "huxi (JIRA)" <ji...@apache.org> on 2017/01/23 09:55:26 UTC

[jira] [Commented] (KAFKA-4685) All partitions offline, no conroller znode in ZK

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

huxi commented on KAFKA-4685:
-----------------------------

Server logs showed that all the brokers have come back to register in ZK again. See "Creating /brokers/ids/0,1,2" in the logs.  So did you mean /controller and /brokers/ids are still empty even after the broker 2 was elected as the new controller? 

> All partitions offline, no conroller znode in ZK
> ------------------------------------------------
>
>                 Key: KAFKA-4685
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4685
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Sinóros-Szabó Péter
>         Attachments: kafka-0-logs.zip, kafka-1-logs.zip, kafka-2-logs.zip, zookeeper-logs.zip
>
>
> Setup: 3 Kafka 0.11.1.1 nodes on kubernetes (in AWS), and another 3 nodes of Zookeeper 3.5.2-alpha also in kubernetes (in AWS).
> At 2017-01-23 06:51 ZK sessions expired. It seems from the logs that kafka-2 was elected as the new controller, but I am not sure how to read that logs.
> I've checked the ZK data and both the /controller is empty and also the /brokers/ids is empty. Kafka reports that all partitions are offline, although it seems to be working because messages are coming and going.
> We are using an alpha version, I know that it may be a problem, but I suppose that Kafka should see that there is not any node registered as controller.
> I have attached the Kafka and ZK logs



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)