Hi Biju, Please see four letter word - mntr, which gives the cluster status, probably you can parse necessary details from this. Will this be sufficient for you?
http://zookeeper.apache.org/doc/r3.5.0-alpha/zookeeperAdmin.html#The+Four+Letter+Words Regards, Rakesh -----Original Message----- From: Biju N [mailto:[email protected]] Sent: 01 October 2014 23:35 To: [email protected] Subject: Re: Finding current quorum size If we can have an additional JMX attribute which stores the quorum size at the node sees it that should help. The leader node should have the correct quorum size at any point in time. Correct? On Wed, Oct 1, 2014 at 12:06 PM, Dutch Meyer <[email protected]> wrote: > Different zookeeper servers may have different views of who has > failed. If a node is failed from the perspective of some members of > the ensemble but not others, what ;would you expect to be reported? > > > On Wed, Oct 1, 2014 at 8:38 AM, Biju N <[email protected]> wrote: > > > Looks like JMX data is static based zoo.cfg. If any of the nodes > > fail or > a > > new node gets added, the size doesn't gets updated until zoo.cfg is > > updated. Let me know otherwise. > > > > On Wed, Oct 1, 2014 at 10:19 AM, Kuba Lekstan <[email protected]> wrote: > > > > > AFAIR JMX shows this. > > > > > > 2014-09-30 18:53 GMT+02:00 Biju N <[email protected]>: > > > > > > > Hi There, > > > > What is the best approach to find the number of active > > > > servers in > > the > > > > quorum? Thank you in advance for your input. > > > > > > > > - Biju > > > > > > > > > > > > > -- > -=-Dutch >
