Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
though.

thanks
mahadev

On Wed, Oct 19, 2011 at 2:31 PM, Avinash Lakshman <
[EMAIL PROTECTED]> wrote:

> 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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB