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

云原生社区为您提供最前沿的新闻资讯和知识内容

更多推荐