hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4272) Add hbck feature to only inspect and try to repair META and ROOT
Date Tue, 30 Aug 2011 03:28:37 GMT

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

Ted Yu commented on HBASE-4272:
-------------------------------

In filterOnlyMetaRegions():
{code}
+        if (hri.isMetaRegion()) {
+          ret.add(hri);
+        }
{code}
Here only .META. region is included. This is inconsistent with:
{code}
+        if (!checkMetaOnly ||
+            dirName.equals("-ROOT-") ||
+            dirName.equals(".META.")) {
+          tableDirs.add(file);
+        }
{code}

> Add hbck feature to only inspect and try to repair META and ROOT
> ----------------------------------------------------------------
>
>                 Key: HBASE-4272
>                 URL: https://issues.apache.org/jira/browse/HBASE-4272
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.92.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>         Attachments: 0010-HBASE-4272.-fsck-meta-only-mode.patch
>
>
> In cases that META is stuck unassigned, hbck currently crashes. It should be able to
handle mis-deployed META and ROOT.

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

        

Mime
View raw message