1
0
forked from docs/doc-exports
Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

4.3 KiB

How Do I Fix Region Overlapping?

Question

When the HBaseFsck 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:

  1. Run the hbase hbck -repair tableName command to restore the table that contains overlapping.
  2. Run the hbase hbck tableName command to check whether overlapping exists in the restored table.

    • If overlapping does not exist, go to 3.
    • If overlapping exists, go to 1.

  3. Log in to FusionInsight Manager and choose Cluster > Name of the desired cluster > Services > HBase > More > Perform HMaster Switchover to complete the HMaster active/standby switchover.
  4. Run the hbase hbck tableName command to check whether overlapping exists in the restored table.

    • If overlapping does not exist, no further action is required.
    • If overlapping still exists, start from 1 to perform the recovery again.