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] [Updated] (HBASE-8414) Hbck still refers to -ROOT- table to locate .META.
Date Wed, 24 Apr 2013 00:27:16 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Himanshu Vashishtha updated HBASE-8414:
---------------------------------------

          Description: 
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.
Status: INCONSISTENT
{code}

  was:
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}

    Affects Version/s: 0.95.0
    
> 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.
> Status: INCONSISTENT
> {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

Mime
View raw message