You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (JIRA)" <ji...@apache.org> on 2013/10/17 01:23:44 UTC

[jira] [Updated] (HBASE-9786) [hbck]: hbck -metaonly incorrectly reports inconsistent regions after HBASE-9698 fix

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

Matteo Bertozzi updated HBASE-9786:
-----------------------------------

    Attachment: HBASE-9786-v0.patch

loadTableInfosForTablesWithNoRegion() is not taking in consideration the metaonly flag, and it ends up working on the other tables/regions not loaded

> [hbck]: hbck -metaonly incorrectly reports inconsistent regions after HBASE-9698 fix
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-9786
>                 URL: https://issues.apache.org/jira/browse/HBASE-9786
>             Project: HBase
>          Issue Type: Bug
>          Components: hbck
>    Affects Versions: 0.96.0
>            Reporter: Aleksandr Shulman
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-9786-v0.patch
>
>
> In my testing, I found that this call began to fail:
> {code}sudo -u hbase hbase hbck -metaonly
> {code}
> The checking after which it began to fail is:  after this checkin: https://github.com/apache/hbase/commit/818749ff9f261aac4206054d331189e92290b408
> The full output is below. The issue seems the patch does not include -metaOnly
> Testing done:
> I build 0.96 up to commit a6f208d91efff207860b049eb8466a069f0c71a9 and the test passes.
> The output:
> {code}Summary:
>   clonedtestSnapshotSource-1381959945438 is okay.
>     Number of regions: 0
>     Deployed on: 
>   hbase:meta is okay.
>     Number of regions: 1
>     Deployed on:  tarball-target-2.ent.cloudera.com,60020,1381952904985
>   hbase:namespace is okay.
>     Number of regions: 0
>     Deployed on: 
>   sampleTable_tarball-target-2.ent.cloudera.com is okay.
>     Number of regions: 0
>     Deployed on: 
>   testMRIncrementalLoadWithSplit_1381959500784 is okay.
>     Number of regions: 0
>     Deployed on: 
>   testMRIncrementalLoad_1381959434211 is okay.
>     Number of regions: 0
>     Deployed on: 
>   testSnapshotSource-1381959945438 is okay.
>     Number of regions: 0
>     Deployed on: 
>   testSnapshotSource-1381959995995 is okay.
>     Number of regions: 0
>     Deployed on: 
> 7 inconsistencies detected.
> Status: INCONSISTENT
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)