Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DBE568373 for ; Mon, 5 Sep 2011 05:26:01 +0000 (UTC) Received: (qmail 20343 invoked by uid 500); 5 Sep 2011 05:26:00 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 19999 invoked by uid 500); 5 Sep 2011 05:25:46 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 19983 invoked by uid 99); 5 Sep 2011 05:25:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 05:25:39 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 05:25:36 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 116C658F29 for ; Mon, 5 Sep 2011 05:25:15 +0000 (UTC) Date: Mon, 5 Sep 2011 05:25:15 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: issues@hbase.apache.org Message-ID: <1583678747.16632.1315200315067.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <490267598.3279.1314808389878.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4311) HBaseTestingUtility.createMultiRegions generates table that fails in hbck. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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