Introduction to Zookeeper

10 / 43

ZooKeeper Hands-on - Getting Started




Not able to play video? Try with youtube

== Getting Started == To get started login to webconsole or ssh at cloudxlab. Type zookeeper-client. This would bring the zoo keeper prompt. This is where we are going to type zookeeper commands.

Lets take a look of all the nodes at the top level by typing ls / You can see there are some znodes. Lets see what are the children znodes under a node called brokers using the following command: ls /brokers Do you see three children znode ids, topics, seqid?

Now, lets see the data inside the znode brokers using get /brokers

You will see all the details about the znode.


Loading comments...