hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4122) improve hbck tool to fix .META. hole issue.
Date Tue, 30 Aug 2011 03:34:37 GMT

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

Jonathan Hsieh commented on HBASE-4122:
---------------------------------------

I've noticed several "backwards" regions in a meta that I'm trying to restore that had the
check_meta.rb script applied to it.  I have a feeling that the hole detection algorithm that
just keeps the previous region range may be too simple - and that the "backwards" hole may
be caused by a recovery that misses a case.

Let's say the table has the following regions

Start -> End

A->B
A->C
B->C

I've noticed some cases where newly added regions look like this:

C->B
B->A

My guess is that a further attempt to clean this up may cause more problems.


> improve hbck tool to fix .META. hole issue.
> -------------------------------------------
>
>                 Key: HBASE-4122
>                 URL: https://issues.apache.org/jira/browse/HBASE-4122
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: feng xu
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4122.patch, check_meta.rb
>
>
> hbase hbck tool can check the META hole, but it can not fix this problem by --fix.
> I plan to improve the tool.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message