FYI the patch has been merged to master (3,6) e to 3.5 branch, and it will be available from 3.5.5 onwards
https://issues.apache.org/jira/browse/ZOOKEEPER-3066 Enrico Il giorno mar 19 giu 2018 alle ore 15:47 Enrico Olivelli < eolive...@gmail.com> ha scritto: > I have logged a JIRA > https://issues.apache.org/jira/browse/ZOOKEEPER-3066 > > Feel free to add comments to the issue > > Enrico > > Il giorno mar 19 giu 2018 alle ore 15:04 Enrico Olivelli < > eolive...@gmail.com> ha scritto: > >> I am going to work on this issue and to provide a patch. For me it is >> really important. But I will start working on it as soon as I have time. >> >> There is already a discussion on the dev@ list about this topic, if >> anyone has cycles we can continue the discussion there. >> >> - Enrico >> >> >> Il giorno lun 18 giu 2018 alle ore 17:14 Ansel Zandegran < >> ansel.zandeg...@infor.com> ha scritto: >> >>> Hi All, >>> It would be really nice to have some other way. We have been using >>> 4Letter (stat) command so far. It’s gonna be deprecated and we are going to >>> be out of options. >>> We are running in embedded mode in a environment where JMX and Jetty >>> server are not allowed. >>> >>> It would be really nice if we could get these from QuorumPeer objects or >>> some other way. >>> >>> Best regards, >>> Ansel >>> >>> On 18 Jun 2018, at 15:45, Norbert Kalmar <nkal...@cloudera.com.INVALID >>> <mailto:nkal...@cloudera.com.INVALID>> wrote: >>> >>> Sorry, Enrico is right, the two methods I mentioned only gives >>> information >>> on themself, just checked. >>> >>> Regards, >>> Norbert >>> >>> On Mon, Jun 18, 2018 at 3:37 PM Norbert Kalmar <nkal...@cloudera.com >>> <mailto:nkal...@cloudera.com>> wrote: >>> >>> Hi, >>> >>> You can also use AdminServer - jetty (unless you are using 3.4 - see >>> >>> https://zookeeper.apache.org/doc/r3.5.0-alpha/zookeeperAdmin.html#sc_adminserver >>> ) or JMX ( >>> >>> http://zookeeper.apache.org/doc/r3.5.4-beta/zookeeperJMX.html#ch_reference >>> ). >>> >>> (It can also be found in the logs of each instance) >>> >>> Regards, >>> Norbert >>> >>> On Mon, Jun 18, 2018 at 2:57 PM harish lohar <hklo...@gmail.com> wrote: >>> >>> Hi, >>> >>> Is there a way to query on any follower node and find out about the >>> leader >>> of the ZK cluster. >>> >>> >>> Thanks >>> Harish >>> >>> >>> >>>