Support Questions

Find answers, ask questions, and share your expertise

FSimage is corrupted on one of the journal node. What will be procedure to recover?

avatar
New Contributor

FSimage is corrupted on one of the journal node. What will be procedure to recove?

2 REPLIES 2

avatar
Master Guru

@mayank1996 You could try below: 

  1. ./bin/hadoop namenode -recover

  2. Then initialisation 

    ./bin/hdfs namenode -initializeSharedEdits

    I would encourage you to go through go through the Cloudera Blog https://blog.cloudera.com/understanding-hdfs-recovery-processes-part-1/ and https://blog.cloudera.com/understanding-hdfs-recovery-processes-part-2/ for better understanding. 

The community discussion will also help you to resolve the issue. 

Check out this one as well http://www.augmentedintel.com/wordpress/index.php/recover-corrupt-hdfs-namenode/ 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Explorer

FSimage not in the journalnode,maybe the editlog is corrupted?

you can copy the editlog from another healthy journal node overwrite the unhealthy one.