Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using HDFS/ HDFS Troubleshooting/ The standby NameNode Fails to Be Started After It Is Powered Off During Metadata Storage
Updated on 2024-12-11 GMT+08:00

The standby NameNode Fails to Be Started After It Is Powered Off During Metadata Storage

Question

When the standby NameNode is powered off during metadata (namespace) storage, it fails to be started and the following error information is displayed.

Answer

When the standby NameNode is powered off during metadata (namespace) storage, it fails to be started and the MD5 file is damaged. Remove the damaged fsimage and start the standby NameNode to rectify the fault. After the rectification, the standby NameNode loads the previous fsimage and reproduces all edits.

Recovery procedure:

  1. Run the following command to remove the damaged fsimage:

    rm -rf ${BIGDATA_DATA_HOME}/namenode/current/fsimage_0000000000000096

  2. Start the standby NameNode.