Hadoop's multi-node cluster starts with no namenode process? (Bloody lesson, be sure to take a snapshot)

Source: Internet
Author: User

  Objective

When you build a Hadoop cluster, the first time you format it, take a snapshot . Do not casually lack of any process, just a format.

  problem description : start Hadoop times NameNode uninitialized: Java.io.IOException:NameNode is notformatted.

At the same time, if you start the Namenode alone, it will appear, after startup for a while, the situation of self-disappearance.

2. Access hadoopmaster:50070 failed, indicating Namenode failed to start

  workaround : Initialize Namenode

If you are prompted to reinitialize the Namenode, enter Y.

[Email protected] hadoop-2.6.0]$ pwd/home/hadoop/app/hadoop-2.6.0[[email protected] Hadoop  Bin/hadoop Namenode-format

  

Shut down, then restart

[Email protected] hadoop-2.6.0]$ pwd/home/hadoop/app/hadoop-2.6.0[[email protected] Hadoop-2.6.0 ]$ sbin/stop-all.sh
sbin/start-all.sh

Cause, and finally nothing. This is a bloody lesson I have brought to everyone. Finally, again, be sure to take a snapshot!!!

Hadoop's multi-node cluster starts with no namenode process? (Bloody lesson, be sure to take a snapshot)

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.