Hey,
ZooKeeper Command Line Interface (CLI) is used to interact with the ZooKeeper ensemble which lets you perform simple, file-like operations. It is useful for debugging purposes.
To perform ZooKeeper CLI operations, first, start your ZooKeeper server and then, ZooKeeper client. Once the client starts, from the shell, type help to get a listing of commands that can be executed from the client. 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