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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -