Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18363

Hbck option to undeploy in memory replica parent region

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: 1.4.0, 2.0.0-alpha-1
    • Fix Version/s: None
    • Component/s: hbck
    • Labels:
      None

      Description

      We run into cases that with read replica, after split, sometimes, the parent replica region is left in master's in memory onlineRegion list. This results in the region got assigned to a region server. Though the root cause will be fixed by HBASE-18025. We need to enhance hbck tool to fix this in-memory state. Currently, hbck only allows the fix for primary region (in this case, the primary region is gone) with fixAssignment option, please see the following line of code. We will enhance it so it can be applied to replica region as well.

      https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java#L2216

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                huaxiang huaxiang sun
                Reporter:
                huaxiang huaxiang sun
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: