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