Incorrect configuration: namenode address DFS. namenode. servicerpc-address or DFS. namenode. RPC-address is not configured.

Source: Internet
Author: User

This error was reported when building a hadoop cluster.

Start HDFS to call the command:

Start-dfs.sh

Error:

 

Then, it is strange to lose the password. It is always unsuccessful.

 

 

Baidu for a long time, determined to be the problem of core-site.xml.

This Code determines what namenode rpcaddress:

<Property> <Name> fs. defaultfs </Name> <value> HDFS: // hdp-node-01: 9000 </value> </property>

However, I can't see any errors on the left or right. This hostname is also configured in hosts:

Hosts:

192.168.112.128 hdp-node-01

 

 

Finally, it may be a problem with the hadoop parsing configuration file. This configuration does not seem to allow spaces ??? (Excuse me ?)

At the beginning, I added a space in the value of <value> value </value> for ease of viewing, and removed the space at the end. The problem was solved ..............................

 

Incorrect configuration: namenode address DFS. namenode. servicerpc-address or DFS. namenode. RPC-address is not configured.

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.