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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM