對不起,但這是我的神經...hdfs數據目錄「處於不一致狀態:與其他人不兼容」。
確切地說,當我開始通過配置單元加載表,我開始得到這個錯誤。親愛的老谷歌也無法幫助。
我的情況 -
- 單個節點的設置。 Namenode正常工作。
- 數據節點啓動與此消息失敗 -
ERROR datanode.DataNode: org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /xxxxxx/hadoop/hdfs-data-dir is in an inconsistent state: is incompatible with others.
我已經嘗試重新格式化我的NameNode,但它不幫助。
而且,我試圖想辦法「格式化」我的數據節點,但沒有成功,到目前爲止..
幫助,請...
您在「core-site.xml」中包含了「hadoop.tmp.dir」屬性嗎?它默認使用/ tmp目錄。因此在每次重新啓動時,所有信息都會丟失。 – Tariq
具有絕對意義,今晚讓我試試。感謝指針。 – Gyan
你爲什麼要刪除寫權限? – jayunit100