You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Fred Emmott (JIRA)" <ji...@apache.org> on 2010/07/16 17:48:50 UTC
[jira] Updated: (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)
[ https://issues.apache.org/jira/browse/HBASE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Emmott updated HBASE-2526:
-------------------------------
Attachment: fix_missing_regions.rb
Script to do this, derived from add_table.rb
Works for us, but may destroy your data, eat your babies, etc.
> Fixup script that scans .META., report holes if any and then finds dropped regions in fs if they are present (loading them if asked)
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-2526
> URL: https://issues.apache.org/jira/browse/HBASE-2526
> Project: HBase
> Issue Type: Task
> Components: scripts
> Reporter: stack
> Attachments: fix_missing_regions.rb
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.