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

[hbck] Hbck should handle case where some regions have different HTD settings in .regioninfo files (0.90 specific)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.7
    • 0.90.7
    • hbck
    • None

    Description

      Recently, we encountered a case where some regions in a table have different HTableDescriptor settings serialized into HDFS their HRegionInfo .regioninfo file. hbck expects all HTDs within a table to be the same and currently bails out in this situation.

      We need to either point out a proper set of actions for the user to execute or automatically convert the region to a common HTD (likely the most common on, or possibly the "first one".)

      Not sure if this requires reformatting data but may require closing and restarting a region.

      This issue is hbase 0.90.x specific – 0.92+ keep all table info in a single .tableinfo file.

      Attachments

        1. hbase_5801_v2.patch
          13 kB
          Jimmy Xiang
        2. hbase_5801_v3.patch
          14 kB
          Jimmy Xiang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: