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 882089AB7 for ; Wed, 2 May 2012 13:15:12 +0000 (UTC) Received: (qmail 98095 invoked by uid 500); 2 May 2012 13:15:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 98046 invoked by uid 500); 2 May 2012 13:15:12 -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 98038 invoked by uid 99); 2 May 2012 13:15:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 13:15:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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; Wed, 02 May 2012 13:15:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6A1AB42B2F4 for ; Wed, 2 May 2012 13:14:50 +0000 (UTC) Date: Wed, 2 May 2012 13:14:50 +0000 (UTC) From: "xufeng (JIRA)" To: issues@hbase.apache.org Message-ID: <620376131.16981.1335964490462.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <792618026.6050.1335600225662.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-5894) Delete table failed but HBaseAdmin#deletetable report it as success 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-5894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] xufeng updated HBASE-5894: -------------------------- Attachment: HBASE-5894_trunk_patch_v2_surefire-report.html HBASE-5894_94_patch_v1_surefire-report.html HBASE-5894_92_patch_v1_surefire-report.html HBASE-5894_90_patch_v1_surefire-report.html HBASE-5894_trunk_patch_v2.patch HBASE-5894_94_patch_v1.patch HBASE-5894_92_patch_v1.patch HBASE-5894_90_patch_v1.patch @Ted I have updated the trunk patch and created patch of the other versions,please review,thanks. All patch verified in real cluster by my reproduce steps. > Delete table failed but HBaseAdmin#deletetable report it as success > ------------------------------------------------------------------- > > Key: HBASE-5894 > URL: https://issues.apache.org/jira/browse/HBASE-5894 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.7, 0.92.2, 0.94.0 > Environment: all versions > Reporter: xufeng > Assignee: xufeng > Priority: Minor > Attachments: HBASE-5894_90_patch_v1.patch, HBASE-5894_90_patch_v1_surefire-report.html, HBASE-5894_92_patch_v1.patch, HBASE-5894_92_patch_v1_surefire-report.html, HBASE-5894_94_patch_v1.patch, HBASE-5894_94_patch_v1_surefire-report.html, HBASE-5894_trunk_patch_v1.patch, HBASE-5894_trunk_patch_v1_surefire-report.html, HBASE-5894_trunk_patch_v2.patch, HBASE-5894_trunk_patch_v2_surefire-report.html > > > Reproduce this issue by following steps: > For reproduce it I add this code in DeleteTableHandler#handleTableOperation(): > {noformat} > LOG.debug("Deleting region " + region.getRegionNameAsString() + > " from META and FS"); > +if (true) { > + throw new IOException("ERROR"); > +} > // Remove region from META > MetaEditor.deleteRegion(this.server.getCatalogTracker(), region); > {noformat} > step1:create a table and disable it. > step2:delete it by HBaseAdmin#deleteTable() API. > result:after lone time, The log say the Table has been deleted, but in fact if we do "list" in shell,the table also exists. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira