How Do I Fix Region Overlapping?
Question
When the hbck tool is used to check the region status, if the log contains ERROR: (regions region1 and region2) There is an overlap in the region chain or ERROR: (region region1) Multiple regions have the same startkey: xxx, overlapping exists in some regions. How do I solve this problem?
Answer
To rectify the fault, perform the following steps:
- Run the following command to restore the table that contains overlapping.
hbase hbck -j ${CLIENT_HOME}/HBase/hbase/tools/hbase-hbck2-1.1.0-h0.cbu.mrs.*.jar fixInconsistencies tableName - Run the following command to check whether overlapping exists in the restored table.
hbase hbck -j ${CLIENT_HOME}/HBase/hbase/tools/hbase-hbck2-1.1.0-h0.cbu.mrs.*.jar listInconsistencies -run tableName - Log in to FusionInsight Manager and choose Cluster > Services > HBase > More > Perform HMaster Switchover to complete the HMaster active/standby switchover.
- Run the following command to check whether overlapping exists in the restored table.
hbase hbck -j ${CLIENT_HOME}/HBase/hbase/tools/hbase-hbck2-1.1.0-h0.cbu.mrs.*.jar listInconsistencies -run tableName- If overlapping does not exist, no further action is required.
- If overlapping still exists, start from 1 to perform the recovery again.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot