zookeeper: It is probably not running.

zookeeper搭建中会遇到这个问题It is probably not running.


这是因为

在启动zookeeper服务后,zookeeper服务不会立即生效,而是需要一定的启动时间,具体时间根据机器性能来决定。


解决方法:耐心等待几十秒,或者一定的时间,再次输入zkServer.sh status命令查看,输出中带有leader和follow就表示服务已启动。



猜你喜欢

转载自blog.csdn.net/baidu_35901646/article/details/80632090