You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Hsieh (JIRA)" <ji...@apache.org> on 2013/10/02 21:15:42 UTC

[jira] [Commented] (HBASE-9698) HBCK does not handle tables with no regions left

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

Jonathan Hsieh commented on HBASE-9698:
---------------------------------------

nit

+    TableName table =
+        TableName.valueOf("testTableWithNoRegions");

use 

TableName table = TableName.valueOf(name.getMethodName());

otherwise, lgtm, pending hadoopqa

> HBCK does not handle tables with no regions left
> ------------------------------------------------
>
>                 Key: HBASE-9698
>                 URL: https://issues.apache.org/jira/browse/HBASE-9698
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>             Fix For: 0.98.0, 0.96.1
>
>         Attachments: hbase-9698_v1.patch
>
>
> hbck does not handle the case where all the regions of a table is gone. To reproduce this: 
> 1. create table with one region 
> 2. delete the region directory
> 3. run hbck --repair, which removes the region from meta as well 
> 4. now, the meta won't contain the region, but the table dir in hdfs will be there. 



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