[
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_v1.patch
Attaching a patch which solves the problem by ensuring that even though no
region info is loaded from meta or hdfs, we still keep track of the table, and
if there are no regions for a table, we treat this as a hole covering the
entire range.
> 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)