[
https://issues.apache.org/jira/browse/HBASE-4311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097011#comment-13097011
]
Jonathan Hsieh commented on HBASE-4311:
---------------------------------------
Thanks for the pointer, I'll update table creation in HBASE-4313's refactor of
hbck tests. The existing version and the current dev version of the hbck tests
does a somewhat hacky cleanup to make the table clean before messing it up
again.
> HBaseTestingUtility.createMultiRegions generates table that fails in hbck.
> --------------------------------------------------------------------------
>
> Key: HBASE-4311
> URL: https://issues.apache.org/jira/browse/HBASE-4311
> Project: HBase
> Issue Type: Bug
> Reporter: Jonathan Hsieh
> Assignee: Jonathan Hsieh
>
> When refactoring TestHBaseFsckRepair to add more hbck test cases, I noticed
> that HBaseTestingUtility.createMultiRegions uses an existing table with empty
> region, adds more regions, and then attempts to remove the region. The
> region remains in meta and is causes hbck to report at inconsistency. Ideally
> these test table generation utility functions should generate clean tables.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira