Running and Verifying ZooKeeper
- Start ZooKeeper on agent1, agent2, and agent3.
1 2
cd /usr/local/zookeeper/bin ./zkServer.sh start
You can stop ZooKeeper on agent1, agent2, and agent3.
1 2
cd /usr/local/zookeeper/bin ./zkServer.sh stop
- Check the ZooKeeper status.Run the ./zkServer.sh status command. If the first line in the following figure is displayed, the startup is successful.
1./zkServer.sh status
Parent topic: Deployment Guide (CentOS & openEuler)