hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrei Savu <savu.and...@gmail.com>
Subject Re: ZK monitoring
Date Tue, 17 Aug 2010 19:14:06 GMT
It's not possible. You need to query all the servers in order to know
who is the current leader.

It should be pretty simple to implement this by parsing the output
from the 'stat' 4-letter command.

On Tue, Aug 17, 2010 at 9:50 PM, Jun Rao <junrao@gmail.com> wrote:
> Hi,
> Is there a way to see the current leader and a list of followers from a
> single node in the ZK quorum? It seems that ZK monitoring (JMX, 4-letter
> commands) only provides info local to a node.
> Thanks,
> Jun

-- Andrei Savu

View raw message