解决HA is not enable for this namenode错误

bin 下格式化ZKFC,命令./hdfs zkfc -formatZK,报HA is not enable for this namenode错误,以下图node

通过检查hdfs_site.xml文件,发现配置错误,由于后面配置的都是nn1,nn2,而红框处,应该也是nn1,nn2,此处要保持先后一致(名字只要是惟一的就行)this

 

修改后,成功orm

相关文章
相关标签/搜索