Support Questions
Find answers, ask questions, and share your expertise

how to know the health of zookepr client to zooke[er servers

hi all

we have three kafka brokers in our cluster ( HDP 2..6.4 , ambari 2.6.1 )

we notice about strange problem that leaders on kafka brokers are not balanced or some times we saw that leaders ( kafka brokers ID's ) missing ,

we suspect that the communication between zookeeper client on kafka brokers are not health against the zookeeper servers

how to verify this ? ,



@ Michael Bronson

Look bizzare that you are missing kafka id that could maybe explain the suspected communication isssue between kafka broker and zookeer.
Can you check that your brokers id's are matched to the entries in zookeeper

WatchedEvent state:SyncConnected type:None path:null
[zk: localhost:2181(CONNECTED) 0] ls /
[cluster, registry, controller, brokers, zookeeper, infra-solr, hbase-unsecure, admin, isr_change_notification, log_dir_event_notification, controller_epoch, hiveserver2, rmstore, ambari-metrics-cluster, consumers, latest_producer_id_block, config]
[zk: localhost:2181(CONNECTED) 1] ls /brokers/ids

In the above output, I have a single broker

yes from the zookeper CLI we see 3 brokers Id'S , but from the server.log we see a problem about one broker id


@Geofffry - I post another thread about - " dose cluster of HDP 2.6.4 version can be OK with kafka 2.0 version " , but not get answer until now , I am very supersize to not get answer in offical hortonwors site