Hadoop异常处理 Bad connect ack with firstBadLink (No route to host )

[root@Node1 ~]# hdfs dfs -put /home/test.txt /lab/input
15/04/15 17:29:44 INFO hdfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink as 192.168.249.133:50010
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1366)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1271)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:525)
15/04/15 17:29:44 INFO hdfs.DFSClient: Abandoning BP-1826895056-192.168.249.131-1428690996123:blk_1073755081_14261
15/04/15 17:29:44 INFO hdfs.DFSClient: Excluding datanode 192.168.249.133:50010
15/04/15 17:29:44 INFO hdfs.DFSClient: Exception in createBlockOutputStream
java.io.IOException: Bad connect ack with firstBadLink as 192.168.249.132:50010
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1366)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1271)
at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:525)
15/04/15 17:29:44 INFO hdfs.DFSClient: Abandoning BP-1826895056-192.168.249.131-1428690996123:blk_1073755082_14262
15/04/15 17:29:44 INFO hdfs.DFSClient: Excluding datanode 192.168.249.132:50010

 

使用ROOT 用户关闭192.168.249.133,192.168.249.132 Node节点的防火墙

 

service iptables stop

posted @ 2015-04-15 17:32  JackyKen  阅读(2659)  评论(0编辑  收藏  举报