hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9698) HBCK does not handle tables with no regions left
Date Wed, 02 Oct 2013 19:15:42 GMT

    [ 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)

Mime
View raw message