1.

Explain The Cli In Zookeeper?

Answer»

ZooKeeper Command Line INTERFACE (CLI) is used to INTERACT with the ZooKeeper ensemble for development purpose. It is useful for debugging and working around with DIFFERENT options. To perform ZooKeeper CLI operations, first turn on your ZooKeeper server (“bin/zkServer.sh start”) and then, ZooKeeper client (“bin/zkCli.sh”).

Once the client starts, you can perform the following operation:

  • Create znodes
  • Get data
  • WATCH znode for changes
  • SET data
  • Create children of a znode
  • List children of a znode
  • Check Status
  • Remove / Delete a znode

ZooKeeper Command Line Interface (CLI) is used to interact with the ZooKeeper ensemble for development purpose. It is useful for debugging and working around with different options. To perform ZooKeeper CLI operations, first turn on your ZooKeeper server (“bin/zkServer.sh start”) and then, ZooKeeper client (“bin/zkCli.sh”).

Once the client starts, you can perform the following operation:



Discussion

No Comment Found