Exception in createBlockOutputStream 04 java.io.IOException: Bad connect ack with firstBadLink

13/12/25 21:29:46 INFO hdfs.DFSClient: Exception in createBlockOutputStream
04 java.io.IOException: Bad connect ack with firstBadLink as 192.168.10.101:50010
05      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1166)
06      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1088)
07      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:514)
08 13/12/25 21:29:46 INFO hdfs.DFSClient: Abandoning BP-1906424073-10.95.3.48-1388035628061:blk_1073741825_1001
09 13/12/25 21:29:46 INFO hdfs.DFSClient: Excluding datanode 1192.168.10.101:50010
10 13/12/25 21:29:46 INFO hdfs.DFSClient: Exception in createBlockOutputStream
11 java.io.IOException: Bad connect ack with firstBadLink as 192.168.10.102:50010
12      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1166)
13      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1088)
14      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:514)
15 13/12/25 21:29:46 INFO hdfs.DFSClient: Abandoning BP-1906424073-10.95.3.48-1388035628061:blk_1073741826_1002
16 13/12/25 21:29:46 INFO hdfs.DFSClient: Excluding datanode 1192.168.10.101:50010
17 13/12/25 21:29:46 INFO hdfs.DFSClient: Exception in createBlockOutputStream
18 java.net.NoRouteToHostException: No route to host
19      at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
20      at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599)
21      at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
22      at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
23      at org.apache.hadoop.hdfs.DFSOutputStream.createSocketForPipeline(DFSOutputStream.java:1305)
24      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1128)
25      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1088)
26      at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:514)
27 13/12/25 21:29:46 INFO hdfs.DFSClient: Abandoning BP-1906424073-10.95.3.48-1388035628061:blk_1073741828_1004
28 13/12/25 21:29:46 INFO hdfs.DFSClient: Excluding datanode 10.95.3.59:50010
29 13/12/25 21:29:46 INFO hdfs.DFSClient: Exception in createBlockOutputStream


主要是由于Hadoop集群内某些节点的防火墙没有关闭,导致无法访问集群内节点。

你可能感兴趣的:(Exception in createBlockOutputStream 04 java.io.IOException: Bad connect ack with firstBadLink)