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 DB2BD727D for ; Fri, 23 Dec 2011 05:43:58 +0000 (UTC) Received: (qmail 85636 invoked by uid 500); 23 Dec 2011 05:43:58 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85599 invoked by uid 500); 23 Dec 2011 05:43:55 -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 85589 invoked by uid 99); 23 Dec 2011 05:43:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Dec 2011 05:43:54 +0000 X-ASF-Spam-Status: No, hits=-2002.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; Fri, 23 Dec 2011 05:43:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AD5F61242E1 for ; Fri, 23 Dec 2011 05:43:30 +0000 (UTC) Date: Fri, 23 Dec 2011 05:43:30 +0000 (UTC) From: "Shrijeet Paliwal (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <60536650.41701.1324619010711.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <862953154.16369.1323972630656.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5041) Major compaction on non existing table does not throw error 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-5041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13175292#comment-13175292 ] Shrijeet Paliwal commented on HBASE-5041: ----------------------------------------- Also could one of you suggest if it makes sense to be explicitly declare throwing of TNFE in method signature of split, flush and compact ? Although we dont need it since TNFE is subclass on IOE, but ... what is best practice? > Major compaction on non existing table does not throw error > ------------------------------------------------------------ > > Key: HBASE-5041 > URL: https://issues.apache.org/jira/browse/HBASE-5041 > Project: HBase > Issue Type: Bug > Components: regionserver, shell > Affects Versions: 0.90.3 > Reporter: Shrijeet Paliwal > Assignee: Shrijeet Paliwal > Fix For: 0.92.0, 0.94.0, 0.90.6 > > Attachments: 0001-HBASE-5041-Throw-error-if-table-does-not-exist.patch > > > Following will not complain even if fubar does not exist > {code} > echo "major_compact 'fubar'" | $HBASE_HOME/bin/hbase shell > {code} > The downside for this defect is that major compaction may be skipped due to > a typo by Ops. -- 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