zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Fine <af...@apache.org>
Subject Re: Any way to get information about cluster in CLI mode
Date Tue, 07 Nov 2017 19:34:48 GMT
Hi Pavel-

The ZooKeeper CLI does not have a way to get information about the
cluster. Although, there are other ways to get that information. You can
use four letter words
or JMX (https://zookeeper.apache.org/doc/r3.4.10/zookeeperJMX.html). 

If you are running a version >= 3.5.0 you can use the AdminServer
which provides the same functionality as four letter words.

Regarding your second question, it is ok to not include all of the nodes
on the cluster. Just be aware that a client will only be aware of the
nodes provided in the connection string and will not be able to connect
if all of the nodes provided are unavailable.

Hope this helps.


On Tue, Nov 7, 2017, at 05:58, Pavel Drankov wrote:
> Hi,
> I'd like to know is there any way to get information about cluster(amount
> of nodes e.g.) from Zookeeper CLI? If not what should be used instead?
> One more question: when providing connectString(comma separated
> addresses)
> is that okay to not provide in the string all nodes in a cluster?
> Best wishes,
> Pavel

View raw message