Exception in thread "main" org.apache.hadoop.HadoopIllegalArgumentException: HA is not enabled for this namenode.
at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.create(DFSZKFailoverController.java:131)
at org.apache.hadoop.hdfs.tools.DFSZKFailoverController.main(DFSZKFailoverController.java:189)
各位大佬,我看一下原始碼,這一塊是:
if (!HAUtil.isHAEnabled(localNNConf, nsId)) {
throw new HadoopIllegalArgumentException(
"HA is not enabled for this namenode.");
}
可是我在core-site.xml以及hdfs-site.xml修改了namenodeserverID還是報錯。
求解答,已經停在這很多天了。跪求!
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/63883.html
標籤:數據倉庫
上一篇:定義資料完整性約束問題
下一篇:資料庫是什么?(轉載)
