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

Fixup script that scans .META., report holes if any and then finds dropped regions in fs if they are present (loading them if asked)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • scripts
    • None

    Description

      I was just at a site that was getting a WRE. Looking at meta, was plain that a region was missing from .META. The install was 0.20.3 (0.20.4 should fix the issue seen but...). Getting things back online involved digging in logs to find info on missing region, what its encoded name was, and then doing a hack version of add_table.rb to add back the dropped region.

      A script that could spin through meta could easily find holes. That'd be a help. Subsequent, the script could go looking in fs for the missing region. If present, it could even add back the missing region. This is subtask of hbase-7.

      Attachments

        1. fix_missing_regions.rb
          4 kB
          Fred Emmott

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: