Home > other >  Hadoop deployment error master node cannot be started
Hadoop deployment error master node cannot be started

Time:09-20

The 2020-04-03 15:35:43, 563 ERROR org. Apache. Hadoop. HDFS. Server. The namenode. The namenode: Failed to start the namenode.
Java.net.BindException: Problem binding to [train111:9000] java.net.BindException: always assign a requested address; For more details see: http://wiki.apache.org/hadoop/BindException
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance0 (Native Method)
At sun. Reflect. NativeConstructorAccessorImpl. NewInstance (NativeConstructorAccessorImpl. Java: 62)
At sun. Reflect. DelegatingConstructorAccessorImpl. NewInstance (DelegatingConstructorAccessorImpl. Java: 45)
The at Java. Lang. Reflect. Constructor. NewInstance (423) Constructor. Java:
At org.apache.hadoop.net.NetUtils.wrapWithMessage NetUtils. Java: (792)
At org.apache.hadoop.net.NetUtils.wrapException NetUtils. Java: (721)
At org, apache hadoop. Ipc. Server. The bind (425) Server. Java:
At org, apache hadoop. Ipc. Server $Listener. & lt; init> (574) Server. Java:
At org, apache hadoop. Ipc. Server & lt; init> (2215) Server. Java:
At org, apache hadoop. Ipc. RPC $Server & lt; init> (RPC) Java: 951)
At org, apache hadoop. Ipc. ProtobufRpcEngine $Server & lt; init> (ProtobufRpcEngine. Java: 534)
At org, apache hadoop. Ipc. ProtobufRpcEngine. GetServer (ProtobufRpcEngine. Java: 509)
At org, apache hadoop. Ipc. RPC $Builder. Build (RPC) Java: 796)
At org, apache hadoop. HDFS. Server. The namenode. NameNodeRpcServer. & lt; init> (NameNodeRpcServer. Java: 345)
At org, apache hadoop. HDFS. Server. The namenode. The namenode. CreateRpcServer (674). The namenode Java:
At org, apache hadoop. HDFS. Server. The namenode. The namenode. The initialize (647). The namenode Java:
At org, apache hadoop. HDFS. Server. The namenode. The namenode. & lt; init> (the NameNode. Java: 812)
At org, apache hadoop. HDFS. Server. The namenode. The namenode. & lt; init> (the NameNode. Java: 796)
At org, apache hadoop. HDFS. Server. The namenode. The namenode. CreateNameNode (1493). The namenode Java:
At org, apache hadoop. HDFS. Server. The namenode. The namenode. Main (1559). The namenode Java:
Under Caused by: java.net.BindException: always assign a requested address
The at sun.nio.ch.Net.bind0 (Native Method)
The at sun.nio.ch.Net.bind (.net, Java: 433)
The at sun.nio.ch.Net.bind (.net, Java: 425)
At sun. Nio. Ch. ServerSocketChannelImpl. Bind (ServerSocketChannelImpl. Java: 223)
At sun. Nio. Ch. ServerSocketAdaptor. Bind (ServerSocketAdaptor. Java: 74)
At org, apache hadoop. Ipc. Server. The bind (408) Server. Java:
. 13 more

Start the hadoop master node only launched secondarymanager,
Partial node launched
3190 the DataNode
3289 NodeManager

CodePudding user response:

File configuration under the condition of yes there are two solutions:
1. According to the configuration file path delete HDFS, data, TMP three files and documents in it, and reformat


(according to the configuration path to delete the corresponding files)

2. In the above three folder version, there are clusterID, three shall be the same id, copy and paste can be


Code word is not easy, will give some useful points
  • Related