Home > other >  Start the hadoop, appear problem, firewall is closed, which can help to have a look
Start the hadoop, appear problem, firewall is closed, which can help to have a look

Time:11-09

HDFS - site. XML logs share
- bash - 4.2 $bin/HDFS dfsadmin - report
18/08/09 12:03:10 WARN ipc. Client: Failed to connect to server: Master. Hadoop/192.168.0.150:50070: try once and fail.
Java.net.ConnectException: rejected the connection
At sun. Nio. Ch. SocketChannelImpl. CheckConnect (Native Method)
At sun. Nio. Ch. SocketChannelImpl. FinishConnect (SocketChannelImpl. Java: 717)
At org.apache.hadoop.net.SocketIOWithTimeout.connect SocketIOWithTimeout. Java: (206)
At org.apache.hadoop.net.NetUtils.connect NetUtils. Java: (531)
At org.apache.hadoop.net.NetUtils.connect NetUtils. Java: (495)
At org, apache hadoop. Ipc. Client $Connection. SetupConnection (681). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. SetupIOstreams (777). The Client Java:
At org, apache hadoop. Ipc. Client $Connection. The access of $3500 (409). The Client Java:
At org, apache hadoop. Ipc. Client. GetConnection (1542). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1373). The Client Java:
At org, apache hadoop. Ipc. Client. Call (1337). The Client Java:
At org, apache hadoop. Ipc. ProtobufRpcEngine $Invoker. Invoke (ProtobufRpcEngine. Java: 227)
At org, apache hadoop. Ipc. ProtobufRpcEngine $Invoker. Invoke (ProtobufRpcEngine. Java: 116)
At com. Sun. Proxy. $Proxy10. GetFsStats (Unknown Source)
At org, apache hadoop. HDFS. ProtocolPB. ClientNamenodeProtocolTranslatorPB. The getStats (ClientNamenodeProtocolTranslatorPB. Java: 626)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
At org, apache hadoop. IO. Retry. RetryInvocationHandler. InvokeMethod (RetryInvocationHandler. Java: 398)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. InvokeMethod (RetryInvocationHandler. Java: 163)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. Invoke (RetryInvocationHandler. Java: 155)
At org, apache hadoop. IO. Retry. RetryInvocationHandler $Call. InvokeOnce (RetryInvocationHandler. Java: 95)
At org, apache hadoop. IO. Retry. RetryInvocationHandler. Invoke (RetryInvocationHandler. Java: 335)
At com. Sun. Proxy. $Proxy11. The getStats (Unknown Source)
At org, apache hadoop. HDFS. DFSClient. GetStateByIndex (DFSClient. Java: 2073)
At org, apache hadoop. HDFS. DFSClient. GetDiskStatus (DFSClient. Java: 2082)
At org, apache hadoop. HDFS. DistributedFileSystem. GetStatus (DistributedFileSystem. Java: 1224)
At org, apache hadoop. Fs. FileSystem. GetStatus (2350) FileSystem. Java:
At org, apache hadoop. HDFS. View DFSAdmin. Report (476) DFSAdmin. Java:
At org, apache hadoop. HDFS. View DFSAdmin. Run (1908) DFSAdmin. Java:
At org, apache hadoop. Util. ToolRunner. Run (76) ToolRunner. Java:
At org, apache hadoop. Util. ToolRunner. Run (90) ToolRunner. Java:
At org, apache hadoop. HDFS. View DFSAdmin. Main (2099) DFSAdmin. Java:
Report: the Call From the Master. Hadoop/192.168.0.150 to Master. The Hadoop: 50070 failed on connection exception: java.net.ConnectException: rejected the connection. For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

CodePudding user response:

Look at your hadoop - env. Sh is configured with a Java path, reported this fault is generally Java library error
  • Related