java - Inspecting ZooKeeper's state as it is running -



java - Inspecting ZooKeeper's state as it is running -

so far way know how inspect state of zookeeper instance running code in client:

for(string w: zk.getchildren("/workers", false)) { system.out.println("worker:" + w); }

is there way can outside of programme @ will? able see finish listing or image of zookeeper state. 4 letter word command dump not list persistent nodes , when using jconsole, can see zookeeoer servers, not nodes. in o'reilly zookeeper book , online cannot find way inspect zookeeper's state, allow me know if know how.

you can utilize zkcli tool (zkcli.sh or zkcli.bat) query zookeeper command line. covered in o'reilly book - see index.

you can utilize zooinspector tool in zookeeper contrib directory.

java apache telnet zookeeper jconsole

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -