前天HBase集群突然不可读写,重启后恢复,为避免一次再次出现类似情形发生,有些疑问
查看log,发现其中一台regionserver有WARN日志,截取部分如下:
[mw_shl_code=shell,true]2016-05-21 19:21:38,770 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:22:08,770 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:22:38,771 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:23:08,771 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:23:38,771 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:24:08,771 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:24:38,772 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:25:08,772 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:25:38,772 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326
2016-05-21 19:26:08,772 WARN [RpcServer.handler=20,port=60020] regionserver.HRegion: Failed getting lock in batch put, row=05-00009150728305-20160521181326[/mw_shl_code]
每隔半小时同一条报一次
请问:
1)这种死锁一般由于设么引起?
2)有什么方案可以避免发生?
在此,先谢谢了...
|