zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ansel Zandegran <Ansel.Zandeg...@infor.com>
Subject Re: Discover LEADER from JMX
Date Tue, 08 May 2018 08:08:18 GMT
That is possible with 4 letter commands. We are using it now. In 3.5.x it is going to be removed
in favour of admin server (embedded web server). 
We are running in an environment where it’s not possible to run JMX or embedded web servers.

So I am wondering if there is another way? It would be nice to have this info as a znode.

Best regards,

> On 8 May 2018, at 09:55, Flavio Junqueira <fpj@apache.org> wrote:
> Hi Enrico,
> You can determine the state of a server it via 4-letter commands. Would that work for
> -Flavio
>> On 8 May 2018, at 09:09, Enrico Olivelli <eolivelli@gmail.com> wrote:
>> Hi,
>> is there any way to see in JMX which is the leader of a ZooKeeper cluster?
>> My problem is: given access to any of the nodes of the cluster I want to
>> know from JMX which is the current leader.
>> It seems to me that this information is not available, you can know only if
>> the local node is Leader or Follower.
>> Cheers
>> Enrico

View raw message