HBase 报错系列之region is not online


报错信息:

ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: Received CLOSE for a region which is not online, and we're not opening.

2016-12-07 16:00:42,558 INFO org.apache.hadoop.hbase.regionserver.RSRpcServices: Close dc4a28b161ff37666cc738aa5c9921bb, moving to null

2016-12-07 16:00:42,558 INFO org.apache.hadoop.hbase.regionserver.RSRpcServices: Close 3560cfc81c22c8026ada507bac72d001, moving to null

2016-12-07 16:00:42,558 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: Received CLOSE for a region which is not online, and we're not opening.

原因:

Hbase运行时候,region达到了设置的文件大小后,就要开始分裂了。分裂的过程是:

1)老region开始下线 ,这里就对应了报错日志中的is not online

2)老region分裂

3)老region关闭,这里就对应了报错日志中的 is closing

解决办法:关闭自动分裂,人为的进行分裂。

或者将单个region文件值设置大写


免责声明!

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



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