hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8414) Hbck still refers to -ROOT- table to locate .META.
Date Wed, 24 Apr 2013 00:35:17 GMT

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

Himanshu Vashishtha commented on HBASE-8414:

Looking at the HBaseFsck code. I see that checkMetaRegion is called when fixing an online
cluster. I think it is right to make a blocking call to locate meta in the method; and in
case it is not assigned, ask the master to do a force assign via fixUnassigned method call.
[~jxiang], jon, any suggestions on this.
> Hbck still refers to -ROOT- table to locate .META.
> --------------------------------------------------
>                 Key: HBASE-8414
>                 URL: https://issues.apache.org/jira/browse/HBASE-8414
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 0.95.0
>            Reporter: Himanshu Vashishtha
> In the current ROOT-less trunk, hbck still tries to fix meta by looking its location
in the .ROOT. table. This happens if there is no .META. assigned when hbck is ran.
> HbaseFsck.java:
> {code}
> boolean checkMetaRegion() {
> ...
>       HRegionLocation rootLocation = connection.locateRegion(
>         HConstants.ROOT_TABLE_NAME, HConstants.EMPTY_START_ROW);
> ...
> }
> {code}
> Running hbck while meta is in transition:
> {code}
> bin/hbase hbck
> Version: 0.95.0-SNAPSHOT
> ERROR: META region or some of its attributes are null.
> ERROR: Fatal error: unable to get root region location. Exiting...
> Summary:
> 2 inconsistencies detected.
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message