Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 54528 invoked from network); 6 Dec 2009 11:39:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Dec 2009 11:39:42 -0000 Received: (qmail 69909 invoked by uid 500); 6 Dec 2009 11:39:41 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 69844 invoked by uid 500); 6 Dec 2009 11:39:41 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 69834 invoked by uid 99); 6 Dec 2009 11:39:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 11:39:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Dec 2009 11:39:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 156AB234C045 for ; Sun, 6 Dec 2009 03:39:18 -0800 (PST) Message-ID: <1549431112.1260099558071.JavaMail.jira@brutus> Date: Sun, 6 Dec 2009 11:39:18 +0000 (UTC) From: "Lars George (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-2029) Reduce shell exception dump on console In-Reply-To: <2100101679.1259880140711.JavaMail.jira@brutus> 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-2029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12786604#action_12786604 ] Lars George commented on HBASE-2029: ------------------------------------ One final note, the error handling should have its own JIRA so that it is addressed one day? Oh, and that wiki page for the shell is slightly formatted wrong by the looks, it changes to cursive/italics and stays until the end. And the .irbrc sample output has no line breaks and makes it difficult to read it. > Reduce shell exception dump on console > -------------------------------------- > > Key: HBASE-2029 > URL: https://issues.apache.org/jira/browse/HBASE-2029 > Project: Hadoop HBase > Issue Type: Improvement > Components: scripts > Affects Versions: 0.20.2 > Reporter: Lars George > Assignee: Jean-Daniel Cryans > Priority: Minor > Fix For: 0.21.0 > > Attachments: HBASE-2029-hirb-v2.patch, HBASE-2029-hirb-v3.patch, HBASE-2029-hirb-v4.patch, HBASE-2029-hirb.patch, HBASE-2029.patch > > > As discussed on IRC and seen over and over, the shell is too verbose when it prints Java related exceptions. The huge stack trace on the console is often causing more harm then actually helping. > {noformat} > ... > [11:31pm] larsgeorge: > the only concern is to keep it in sync with new changes and also reduce its stacktrace > [11:31pm] larsgeorge: > that can be quite nasty > [11:31pm] _dodger_: > I've seen a prime example of that on the mailing list today > [11:32pm] larsgeorge: > yeah, those do repeat themselves > [11:32pm] larsgeorge: > also that DEBUG is on by default > [11:33pm] larsgeorge: > mind you, that is a good idea for the daemons > [11:33pm] larsgeorge: > but prolly not the shell > [11:33pm] jdcryans: > I was thinking > [11:33pm] larsgeorge: > maybe we can set ERROR logging level just for the shell when it is started? > [11:34pm] jdcryans: > we should stop printing the stack trace for NSRE > [11:34pm] larsgeorge: > there are a few others of that sort > [11:34pm] larsgeorge: > be it ZK reconnects etc. > [11:35pm] jdcryans: > yeah there's a lot of hbase-generated zk-related noise > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.