Yes, both jmx and znode is available to know the cluster details. Will be 
updated as per the dynamic reconfiguration.

The dynamic configuration is stored in a special znode " /zookeeper/config"

Its available only in 3.5.* release onwards.

References:-

https://zookeeper.apache.org/doc/trunk/zookeeperReconfig.html#sc_reconfig_retrieving
https://issues.apache.org/jira/browse/ZOOKEEPER-1659

-Rakesh
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Steve 
Morin
Sent: 06 December 2014 13:39
To: [email protected]
Subject: Zookeeper Server Discovery - Dynamic Server Lookup

If I can connect to a single Zookeeper Server I would like to be able to lookup 
all the servers in the cluster, so that if servers are added or removed I can 
look up what servers are in the cluster.

Does anyone know if there are znodes in zookeeper or if this is able to be 
looked up in jmx?
-Steve

Reply via email to