解决HA is not enable for this namenode错误
Posted c-w20140301
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决HA is not enable for this namenode错误相关的知识,希望对你有一定的参考价值。
bin 下格式化ZKFC,命令./hdfs zkfc -formatZK,报HA is not enable for this namenode错误,如下图
经过检查hdfs_site.xml文件,发现配置错误,因为后面配置的都是nn1,nn2,而红框处,应该也是nn1,nn2,此处要保持前后一致(名字只要是唯一的就行)
修改后,成功
以上是关于解决HA is not enable for this namenode错误的主要内容,如果未能解决你的问题,请参考以下文章