zookeeper无法启动 KeeperErrorCode = NoNode for
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 millisecond...
·
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
更多推荐
已为社区贡献2条内容
所有评论(0)