Hbase recovery commands

switch to hbase user: su hbase
hbase hbck -details to understand the scope of the problem
hbase hbck -fix to try to recover from region-level inconsistencies
hbase hbck -repair tried to auto-repair, but actually increased number 
of inconsistencies by 1
hbase hbck -fixMeta -fixAssignments
hbase hbck -repair this time tables got repaired
hbase hbck -details to confirm the fix
hbase hbck -repairHoles for any issues related to installation and configuration

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *