Important Zookeeper Commands

Zookeeper have bunch of commands to get the information about the services managed by Zookeeper as well as Zookeeper itself.

  • Make sure to create softlink for java executable so that can run.
  • or – It is primarily to get details about services
    • Here are some sample commands. Be careful while running rmr or any del commands.
    • comes with Zookeeper as part of Kafka. Typically we will have

  • Four letter commands – to get details about Zookeeper cluster
    • Sample Command – echo conf | nc 2181

Make sure you have setup Zookeeper successfully and run command by the end of this section. If there are any issues, please follow up with us before going any further.

Also, if you are planning to take a break before going to next section, make sure to stop services using Cloudera Manager and then all the 7 servers by going to GCP console so that you do not waste your credits or not charged unnecessarily.

Share this post