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 56474D281 for ; Thu, 4 Oct 2012 22:55:48 +0000 (UTC) Received: (qmail 95705 invoked by uid 500); 4 Oct 2012 22:55:48 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95677 invoked by uid 500); 4 Oct 2012 22:55:48 -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 95668 invoked by uid 99); 4 Oct 2012 22:55:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2012 22:55:48 +0000 Date: Fri, 5 Oct 2012 09:55:48 +1100 (NCT) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: <105796514.2809.1349391348085.JavaMail.jiratomcat@arcas> In-Reply-To: <579867793.152510.1349141827477.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6916) HBA logs at info level errors that won't show in the shell MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469808#comment-13469808 ] Hudson commented on HBASE-6916: ------------------------------- Integrated in HBase-TRUNK #3426 (See [https://builds.apache.org/job/HBase-TRUNK/3426/]) HBASE-6916 HBA logs at info level errors that won't show in the shell (Revision 1394274) Result = FAILURE jdcryans : Files : * /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java * /hbase/trunk/hbase-server/src/test/ruby/hbase/admin_test.rb > HBA logs at info level errors that won't show in the shell > ---------------------------------------------------------- > > Key: HBASE-6916 > URL: https://issues.apache.org/jira/browse/HBASE-6916 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 0.90.6, 0.92.1, 0.94.1, 0.96.0 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Minor > Fix For: 0.92.3, 0.94.2, 0.96.0 > > Attachments: HBASE-6916-0.94.patch, HBASE-6916.patch, HBASE-6916-v2.patch > > > There is a weird interaction between the shell and HBA. When you try to close a region that doesn't exist, it doesn't throw any error: > {noformat} > hbase(main):029:0> close_region 'thisisaninvalidregion' > 0 row(s) in 0.0580 seconds > {noformat} > Normally one should get UnknownRegionException. Starting the shell with "-d" I see what a non-shell user would see along with a ton of logging from ZK (skipped here): > {noformat} > INFO client.HBaseAdmin: No server in .META. for thisisaninvalidregion; pair=null > {noformat} > But again this is not the right message, it should have shown > {noformat} > INFO client.HBaseAdmin: No server in .META. for thisisaninvalidregion; pair=null > {noformat} > And this is because that part of the code treats both UnknownRegionException and NoServerForRegionException like if it was the same thing. > There is also some ugliness in flush, compact, and split but it normally doesn't show since the code treats everything like it's a table and sends a TableNotFoundException. > This jira is about making sure that the exceptions are correctly coming out. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira