Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> current leader

Copy link to this message
Re: current leader
I think JMX can atleast give you what the stat of a given zk server is (
http://zookeeper.apache.org/doc/r3.3.3/zookeeperJMX.html) but i dont think
you'd be able to register for change notification.

Am interested in hearing any thoughts on a nice api for notifications


On Wed, Oct 19, 2011 at 2:31 PM, Avinash Lakshman <

> Is there any API to get information of the current leader of the ZK cluster
> and/or to register for leader change notifications? Also any API to get the
> endpoint information of the members of the cluster?
> Thanks
> Avinash