您的位置:首页 > Web前端 > Node.js

zookeeper无法启动 KeeperErrorCode = NoNode for

2018-02-05 11:55 567 查看

KeeperErrorCode = NoNode for

查看zookeeper配置文件,得到
dataDir
的地址

[root@iZ25o9lq6f5Z ~]# cd /usr/local/zookeeper-3.3.6/
[root@iZ25o9lq6f5Z zookeeper-3.3.6]# cat conf/zoo.cfg
# The number of milliseconds of each tick
tickTime=2000
# The number of ticks that the initial
# synchronization phase can take
initLimit=10
# The number of ticks that can pass between
# sending a request and getting an acknowledgement
syncLimit=5
# the directory where the snapshot is stored.
dataDir=/tmp/zookeeper
# the port at which the clients will connect
clientPort=2181


删除
/tmp/zookeeper
目录下的
version-2
文件夹

然后启动zookeeper
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐