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

HBCK repair should not unsplit healthy splitted region

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.4.0, 1.3.1, 1.2.6, 2.0.0
    • hbck
    • None
    • Hide
      A new option -removeParents is now available that will remove an old parent when two valid daughters for that parent exist and -fixHdfsOverlaps is used. If there is an issue trying to remove the parent from META or sidelining the parent from HDFS we will fallback to do a regular merge. For now this option only works when the overlap group consists only of 3 regions (a parent, daughter A and daughter B)
      Show
      A new option -removeParents is now available that will remove an old parent when two valid daughters for that parent exist and -fixHdfsOverlaps is used. If there is an issue trying to remove the parent from META or sidelining the parent from HDFS we will fallback to do a regular merge. For now this option only works when the overlap group consists only of 3 regions (a parent, daughter A and daughter B)

    Description

      Currently HBCK design in branch-1 has a flaw when repair option (the -fixHdfsOverlaps option specifically) is specified: it would wrongly merge split region (by looking at HDFS, it thinks that there exists overlapped regions - parent region and daughter regions covers the same key range, of course). See HBASE-15940 for details.

      This JIRA tracks the improvement not-to-merge split region in HBCK repair.

      Attachments

        1. HBASE-15941.master.001.patch
          17 kB
          Esteban Gutierrez
        2. HBASE-15941.master.001.patch
          17 kB
          Esteban Gutierrez
        3. HBASE-15941.master.002.patch
          21 kB
          Esteban Gutierrez
        4. HBASE-15941.branch-1.001.patch
          19 kB
          Esteban Gutierrez

        Issue Links

          Activity

            People

              esteban Esteban Gutierrez
              syuanjiang Stephen Yuan Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: