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)

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      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.

        Issue Links

          Activity

          stack created issue -
          stack made changes -
          Field Original Value New Value
          Link This issue is part of HBASE-7 [ HBASE-7 ]
          Eugene Koontz made changes -
          Link This issue is related to HBASE-2486 [ HBASE-2486 ]
          Fred Emmott made changes -
          Attachment fix_missing_regions.rb [ 12449675 ]
          Jonathan Hsieh made changes -
          Link This issue is related to HBASE-4122 [ HBASE-4122 ]
          stack made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              stack
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development