Zookeeper - Create an ephemeral znode
Please follow the following steps to create an emphermal znode:
- Login to CloudxLab
- Launch Zookeeper client: zookeeper-client
- 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'
Check if it is created correctly using a commands like:
(1) ls /cloudxlab/john1234/
(2) get /cloudxlab/john1234/aneph