某一个作业报错:
16/06/07 08:18:35 INFO hdfs.DFSClient: Abandoning BP-335176858-10.151.11.121-1433739729352:blk_1129708823_56042075
16/06/07 08:18:35 INFO hdfs.DFSClient: Excluding datanode DatanodeInfoWithStorage[10.130.81.114:50010,DS-d5f8c720-38a2-40b5-be57-ede553daae68,DISK] 16/06/07 08:18:35 INFO hdfs.DFSClient: Exception in createBlockOutputStream java.net.ConnectException: Connection refused 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:530) at org.apache.hadoop.hdfs.DFSOutputStream.createSocketForPipeline(DFSOutputStream.java:1782) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1559) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1512) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:668)
解决方法:
登录到10.130.81.114后,运行:
hadoop-daemon.sh start datanode