1. 查看zookeeper状态:

/usr/local/zookeeper-3.4.5/bin/zkServer.sh status

2. zookeeper启动

/usr/local/zookeeper-3.4.5/bin/zkServer.sh start

3. zookeeper停止

/usr/local/zookeeper-3.4.5/bin/zkServer.sh stop

4. zookeeper重启

/usr/local/zookeeper-3.4.5/bin/zkServer.sh restart

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐