E&ICT IIT Roorkee - Data Engineering Course at Rs. 1,999 (90% OFF) | Expires in

 Enroll Now

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 ephemeral 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 commands like:

      (1) ls /cloudxlab/john1234/
    
      (2) get /cloudxlab/john1234/aneph