How to use ZooInsepector

The Zookeeper has a ZooInspector GUI that you can use for inspecting your zNode structure, you can use it with these steps
  1. First go to the ZooInsepector directory (I am assuming that you already have ZooKeeper on your machine, if not download it from Zookeeper home page)
    
    cd <ZOOKEEPER_HOME>/contrib/ZooInspector
    
  2. You can start the ZooInspector by using following command which makes sure that the necessary jars are on the classpath
    
    java -cp ../../lib/*:lib/*:zookeeper-3.4.7-ZooInspector.jar:../../zookeeper-3.4.7.jar org.apache.zookeeper.inspector.ZooInspector
    
  3. Once the ZooInspector started enter URL of the Zookeeper that you want to inspect
  4. Once ZooInspector will show you the zNode hierarchy on that server

5 comments:

Unknown said...

Hello Sunil

I am getting C:\opt\zookeeper\zookeeper-3.4.6\zookeeper-3.4.6\contrib\ZooInspector>java -cp ../../lib/*:lib/*:zookeeper-3.4.7-ZooInspector.jar:../../zookeeper-3.4.7.jar org.apach
e.zookeeper.inspector.ZooInspector
Error: Could not find or load main class org.apache.zookeeper.inspector.ZooInspector

Anonymous said...

Hello Sunil

I am getting C:\opt\zookeeper\zookeeper-3.4.6\zookeeper-3.4.6\contrib\ZooInspector>java -cp ../../lib/*:lib/*:zookeeper-3.4.7-ZooInspector.jar:../../zookeeper-3.4.7.jar org.apach
e.zookeeper.inspector.ZooInspector
Error: Could not find or load main class org.apache.zookeeper.inspector.ZooInspector

Abhi said...



Thanks for info
Website development in Bangalore

Zinavo-Web Design | Web Development | SEO | Mobile Apps | ERP/CRM said...

I am impressed by the details that you have on this blog. It reveals how nicely you perceive this subject. Thank you, great takeaways to start right now with, getting clients to define their primary goal and make sure the home page leads to that, as well to at least one secondary goal for clients who have completed the primary goal. I've got important questions to ask!
Web Design and Development Company in Bangalore
Digital Marketing Company in Bangalore
PPC Marketing Services in Bangalore

Gexton said...

Nice Article, Keep provide this kind of information.
Thank You.
If any one need Software Agency Pakistan then contact us