原文:Directory /redeemer/hadoop-2.9.0/journaldata/ns1 is in an inconsistent state: Can't format the storage directory because the current directory is not empty.

具體錯誤如下,執行 hdfs namenode format 時報錯,網上也沒有答案,誤打誤撞吧問題解決了,說ns 這個目錄已存在,所以我找到了ns 這個目錄,然后刪掉,再次格式化 格式化之后還是一樣的錯誤,然后仔細看兩個錯誤的地址,是我的兩個節點的地址,然后把所有報錯的節點上的ns 這個目錄全部刪掉,再次格式化,成功 ...

2019-03-04 14:36 0 1342 推薦指數:

查看詳情

Incompatible namespaceID for journal Storage Directory /home/hkx/journaldata/ns2: NameNode has nsId 480343035 but storage has nsId 2072447892

原因是因為你的hadoop.tmp.dir在/tmp目錄下,而linux系統的/tmp文件夾內容能夠是定時清理的,所以會導致你看hadoop使用不了了,就反復的格式化namenode會導致上述問題,也有可能是datanode長期沒正常啟動導致;找了一下資料,有三個解決方案:解決方法一:刪除 ...

Mon Mar 25 17:53:00 CST 2019 0 621
Hadoop錯誤集:Journal Storage Directory not formatted

類型一: 當你從異常信息中看到JournalNode not formatted,如果在異常中看到三個節點都提示需要格式化JournalNode。 如果你是新建集群,你可以重新格式化NameNod ...

Wed Jul 08 17:18:00 CST 2015 0 2379
Owncloud - Can't write into config directory!

Owncloud - Can't write into config directory! Can't write into config directory! This can usually be fixed by giving the webserver write access ...

Tue Jan 14 23:37:00 CST 2020 0 1167
SVN提交Cant create directory transactions

不知道什么原因(說是遷移了SVN倉庫,實際上沒有),導致提交是報錯Can't create directory 'C:\Repositories\倉庫名稱\db\transactions\版本.txn,更新正常。 既然創建不了,那就手動給它創建一下文件夾,必須包括 "transactions ...

Sat Sep 19 05:08:00 CST 2020 0 445
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM