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.