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: How to new quorum leader in ZK Cluster ( except from stat command)
Date Mon, 18 Jun 2018 15:13:47 GMT
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 <nkalmar@cloudera.com.INVALID<mailto:nkalmar@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 <nkalmar@cloudera.com<mailto:nkalmar@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 <hklohar@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



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message