`
flyPig
  • 浏览: 139806 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Hadoop异常:Bad connect ack with firstBadLink

 
阅读更多
hadoop抛出如下异常:
[INFO] Exception in createBlockOutputStream java.io.IOException: Bad connect ack with firstBadLink xxx.xxx.xxx.xxx:50010
[INFO] Abandoning block blk_6251991629364444942_18501788


同时在Datanode上看到如下异常:
INFO org.apache.hadoop.dfs.DataNode: Receiving
block blk_4171702026185885604 src: /xxx.xxx.xxx.xxx:36669
dest: /xxx.xxx.xxx.xxx:50010
INFO org.apache.hadoop.dfs.DataNode: writeBlock
blk_4171702026185885604 received exception
java.net.NoRouteToHostException: No route to host
ERROR org.apache.hadoop.dfs.DataNode:
xxx.xxx.xxx.xxx:50010:DataXceiver: java.net.NoRouteToHostException: No
route to host
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect
(SocketChannelImpl.java:574)
at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100)
at org.apache.hadoop.dfs.DataNode$DataXceiver.writeBlock
(DataNode.java:1150)
at org.apache.hadoop.dfs.DataNode$DataXceiver.run(DataNode.java:994)
at java.lang.Thread.run(Thread.java:619)


经查证是做link copy connect出现的问题,关掉所有Datanode上的iptables,发现恢复正常。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics