首页 > 其他 > 详细

HBase管理与监控——HBase region is not online

时间:2019-10-31 10:03:50      阅读:217      评论:0      收藏:0      [点我收藏+]

 

发现有些regison程序操作失败,其他region 都是正常的,重启regionserver 后依然报同样的错误。

 

首先进入hbase的bin目录,执行下面命令检查表是否有存储一致性问题:

hbase hbck -details  table

如出现以下提示,则说明有不一致的地方,2表示个数:

2 inconsistencies detected.

 

既然不一致,咱就尝试修复一下(这个功能要管理权限,使用慎重):

hbase hbck -repair table

修复完了以后结果如下:

Summary:
Table hbase:meta is okay.
    Number of regions: 1
    Deployed on:  ctum2f0602005.idc.wanda-group.net,60020,1482504754412
Table idctag:user_basic_info is okay.
    Number of regions: 124

0 inconsistencies detected.
Status: OK

 

HBase管理与监控——HBase region is not online

原文:https://www.cnblogs.com/caoweixiong/p/11769453.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!