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

[uberhbck] Add options for how to handle offline split parents.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.7, 0.92.1, 0.94.0
    • 0.94.1, 0.95.0
    • hbck
    • None
    • Reviewed

    Description

      In a recent case, we attempted to repair a cluster that suffered from HBASE-4238 that had about 6-7 generations of "leftover" split data. The hbck repair options in an development version of HBASE-5128 treat HDFS as ground truth but didn't check SPLIT and OFFLINE flags only found in meta. The net effect was that it essentially attempted to merge many regions back into its eldest geneneration's parent's range.

      More safe guards to prevent "mega-merges" are being added on HBASE-5128.

      This issue would automate the handling of the "mega-merge" avoiding cases such as "lingering grandparents". The strategy here would be to add more checks against .META., and perform part of the catalog janitor's responsibilities for lingering grandparents. This would potentially include options to sideline regions, deleting grandparent regions, min size for sidelining, and mechanisms for cleaning .META..

      Note: There already exists an mechanism to reload these regions – the bulk loaded mechanisms in LoadIncrementalHFiles can be used to re-add grandparents (automatically splitting them if necessary) to HBase.

      Attachments

        1. 5360_hbase_v4.patch
          11 kB
          Jimmy Xiang
        2. 5360-0.90-hbase.patch
          10 kB
          Jimmy Xiang
        3. 5360-0.92-hbase.patch
          10 kB
          Jimmy Xiang
        4. 5360-0.94-hbase.patch
          11 kB
          Jimmy Xiang
        5. hbase-5360.path
          48 kB
          Jimmy Xiang

        Issue Links

          Activity

            People

              jxiang Jimmy Xiang
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: