zookeeper hadoop-ha znode错误导致ZKFailoverController无法启动
阅读原文时间:2021年04月20日阅读:1

Ambari启动ZKFailoverController失败了,输入tail -f -n 100 hadoop-hdfs-zkfc-master.log 

日志中显示:

org.apache.hadoop.ha.ZKFailoverController: Unable to start failover controller. Parent znode does not exist.
Run with -formatZK flag to initialize ZooKeeper.

按照提示,在失败的节点上输入:

hdfs zkfc -formatZK

重启zkfc就行了。

参考https://community.hortonworks.com/questions/50078/unable-to-start-zkfailovercontroller.html

手机扫一扫

移动阅读更方便

阿里云服务器
腾讯云服务器
七牛云服务器