我在虛擬機上布置單一節點的hadoop偽分布,一直用的好好的,不知原因的出現了:
WARNING:There are about 12 missing blocks.Please check the log or run fsck.
我將hadoop關閉了后,重新打開就出現了:
Cluster Summary
Safe mode is ON. The reported blocks is only 1 but the threshold is 0.9990 and the total blocks 13. Safe mode will be turned off automatically.
38 files and directories, 13 blocks = 51 total. Heap Size is 23.69 MB / 966.69 MB (2%)
這樣的問題,我知道這是我block塊丟失,系統一直處于安全模式。雖然可以關閉安全模式,但是我想知道如何能恢復我丟失的Blo資料呢,因為我的namenode沒有宕機,可以合并fsimage和editors.但是如何做呢 ??
各位大牛,幫幫忙小弟!!感激不盡。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/107006.html
標籤:虛擬化
