zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: current leader
Date Wed, 19 Oct 2011 22:29:43 GMT
We've talked before about putting that information into /zookeeper (ie
as a znode). As long as auth can be applied to these znodes, similar
to the rest of the space, it seems like a good place to me.

Patrick

On Wed, Oct 19, 2011 at 3:27 PM, Mahadev Konar <mahadev@hortonworks.com> wrote:
> 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 <
> avinash.lakshman@gmail.com> 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
>>
>

Mime
View raw message