Start Hadoop. start-all.sh Missing Datanode Process

Source: Internet
Author: User


1) Modify the Namespaceid of each slave to make it consistent with the Namespaceid of the master.

Or

2) Modify the Namespaceid of master so that it is consistent with the Namespaceid of slave.

The "Namespaceid" is located in the "/usr/hadoop/tmp/dfs/data/current/version" file and the front Blue May vary according to the actual situation, but the red in the back is unchanged.

Example: View the "VERSION" file under "Master"

650) this.width=650; "src=" http://img.blog.csdn.net/20131110011305046 "style=" border:none; "/>


Viewing error log Accesshttp://localhost:50070, in the page, clickNamenode LogsLinks, inlogsPage clickHadoop-hadoop-datanode-ubuntu.logLink

Find this prompt in the log:Invalid directory in Dfs.data.dir:Incorrect permission For/usr/local/hadoop/hdfs/data, Expected:rwxr-xr-x, while a CTUAL:RWXR-XRWX。 Reason isDataFolder permissions issue, execution:chmod g-w/usr/local/hadoop/hdfs/data, after you modify the folder permissions, start againHadoop, problem solving.




Start Hadoop. start-all.sh missing Datanode process

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.