HBase management and monitoring --HBase region is not online

 

Found that some regison program fails, the other region is normal, restart regionserver still reported the same mistakes.

 

First, go to the bin directory of hbase, execute the following command to check the consistency of the table if there is storage:

hbase hbck -details  table

As the following prompt, then there are inconsistencies, 2 is the number of:

2 inconsistencies detected.

 

Since inconsistent, let's try to fix it (this feature to manage permissions, use caution):

hbase hbck -repair table

After repair done as follows:

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

 

Guess you like

Origin www.cnblogs.com/caoweixiong/p/11769453.html