Apache ZooKeeper

25 / 47

Zookeeper - Create an ephemeral znode

Please follow the following steps to create an emphermal znode:

  1. Login to CloudxLab
  2. Launch Zookeeper client: zookeeper-client
  3. Create an ephermal znode with name "aneph" inside node created in previous exercise using the following command: create -e /cloudxlab/<YourUserName>/aneph 'online-session' If your username is john1234, the command will look like: create -e /cloudxlab/john1234/aneph 'online-session'
  4. Check if it is created correctly using a command like: ls /cloudxlab/john1234/aneph