[ 
https://issues.apache.org/jira/browse/HBASE-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889360#action_12889360
 ] 

Fred Emmott commented on HBASE-2526:
------------------------------------

A couple of points:
 - after this runs, the region it inserts appears as the last region for the 
table. The other regions appeared again after ~ 20 seconds
 - it assumes that the keys for the table are valid character strings, not 
arbitrary byte arrays

> 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.

Reply via email to