You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wayne (JIRA)" <ji...@apache.org> on 2011/07/02 18:28:27 UTC

[jira] [Commented] (HBASE-3695) Some improvements to Hbck to test the entire region chain in Meta and provide better error reporting

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

Wayne commented on HBASE-3695:
------------------------------

It would be very useful to have the -fix flag actually be able to resolve most issues. Once the region keys get messed up it is very hard to manually fix these issues. This tool should be able to find and fix the major problems that can occur. These issues include no region with an empty start key, no region with an empty end key, a hole in the region chain, overlapping regions, regions with the same start key, etc. etc.

If this tool can find the issues it should be able to fix them as well.

> Some improvements to Hbck to test the entire region chain in Meta and provide better error reporting
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3695
>                 URL: https://issues.apache.org/jira/browse/HBASE-3695
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.90.1
>            Reporter: Marc Limotte
>            Assignee: Marc Limotte
>             Fix For: 0.90.3
>
>
> The current Hbck tool will miss some inconsistencies in Meta, and in other cases will detect an issue, but does not provide much in the way of useful feedback.  
> * Incorporate the full region chain tests (similar to check_meta.rb). I.e. look for overlaps, holes and cycles. I believe check_meta.rb will be redundant after this change.
> * More unit tests, and better tests that will test the actual error discovered, instead of just errors true/false.
> * In the case of overlaps and holes, output both ends of the broken chain.
> * Previous implementation runs check() twice.  This is inefficient and, more importantly, reports redundant errors which could be confusing to the user.

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