Start the Hadoop report error org.apache.hadoop.hdfs.server.namenode.FSImage:Failed to the load image from Fsimagefile

Source: Internet
Author: User

Don't know what's going on today when you start a cluster, when you view a process through JPS, there is always a standby Namenode process fails to start. View Log times is unable to load the Fsimage file. The logs are as follows:

It's obvious that the log is unable to load the metadata information, the solution:

Workaround:

1, Manual copy Namenode (active) on the server that is located on xxx/dfs/name/current/all files under Namenode (standby)

The corresponding folder of the server where you are located.

2. Reformat the Namenode (active), and then copy the formatted metadata to Namenode (standby).

(This method is used with caution!) Because, the metadata on reformatting Namenode,namenode will be lost, the metadata is lost, the consequence is unimaginable! )

Start the Hadoop report error org.apache.hadoop.hdfs.server.namenode.FSImage:Failed to the load image from Fsimagefile

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.