zookeeper启动时报错:Starting zookeeper ... FAILED TO START

安装zookeeper时,启动集群报错Starting zookeeper ... FAILED TO START,查看日志,详细错误如下:
zookeeper启动时报错:Starting zookeeper ... FAILED TO START_第1张图片解决办法如下:

  • 删除如下两个目录中的version-2目录
[ray@hadoop203 zookeeper]$ rm -rf logs/version-2
[ray@hadoop203 zookeeper]$ rm -rf data/zkData/version-2/
  • 重新启动集群
    zookeeper启动时报错:Starting zookeeper ... FAILED TO START_第2张图片

你可能感兴趣的:(zookeeper)