`

Bad connect ack with firstBadLink

阅读更多

hbase报的错误,经过分析是Hadoop不能写入数据了。可恶的是hbase会丢失该阶段put的的数据。

 

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

DFSClient: Abandoning block blk_

DFSClient: Waiting to find target node

 

DFSClient: DataStreamer Exception: java.io.IOException: Unable to create new block

 

WARN hdfs.DFSClient: Error Recovery for block blk_-4764663209577220400_66475 bad datanode[1] nodes == null

WARN hdfs.DFSClient: Could not get block locations. Source file "..." - Aborting......
put: Bad connect ack with firstBadLink

ERROR hdfs.DFSClient: Exception closing file .... : java.io.IOException: Bad connect ack with firstBadLink ...
java.io.IOException: Bad connect ack with firstBadLink...

 

 

 

原因:

1、某个节点机器突然开启防火墙,导致不能连接

2、强制kill掉某个节点(据说)

3、某个机器直接当掉,岂不是完蛋了?数据冗余容灾的设计干什么吃的?(推测)

分享到:
评论
1 楼 mrduke 2014-12-25  
我也碰到这种情况,是某个节点因为重启把iptables又起来了,可以用chkconfig iptables off解决重启带来的问题,不重启的话用service iptables stop关掉

相关推荐

Global site tag (gtag.js) - Google Analytics