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

Enis Soztutar updated HBASE-9698:
---------------------------------

    Attachment: hbase-9698_v2.patch

Thanks Jonathan. 

Attaching v2 with test name change, and fixed failing tests (a hole in region 
chain is also reported since there are no regions remaining causing the hole)

> 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, hbase-9698_v2.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)

Reply via email to