zookeeper hadoop-ha znode错误导致ZKFailoverController无法启动
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.
·
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
更多推荐
已为社区贡献1条内容
所有评论(0)