distributed - given a zookeeper server ip:port, how to get the zookeeper structure? -


given zookeeper server ip:port, how zookeeper structure? example told zookeper service server 192.1.2.17:2181

i can use zkcli.sh login , basic stuff. can use without problem. want know how many nodes in zookeeper setup? nodes?? status? how achieve this?

thanks

you might find of these commands useful:

http://zookeeper.apache.org/doc/trunk/zookeeperadmin.html#the+four+letter+words

you can run them against server ip:port given, e.g.:

echo mntr | nc 192.1.2.17 2181 

if have access host, check configuration under <zoo install>/conf/zoo.cfg.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -