Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 00070105F0 for ; Tue, 13 Aug 2013 23:06:49 +0000 (UTC) Received: (qmail 17387 invoked by uid 500); 13 Aug 2013 23:06:48 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 17302 invoked by uid 500); 13 Aug 2013 23:06:48 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 17206 invoked by uid 99); 13 Aug 2013 23:06:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 23:06:48 +0000 Date: Tue, 13 Aug 2013 23:06:48 +0000 (UTC) From: "Jeffrey Zhong (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-9210) "hbase shell -d" doesn't print out exception stack trace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jeffrey Zhong created HBASE-9210: ------------------------------------ Summary: "hbase shell -d" doesn't print out exception stack trace Key: HBASE-9210 URL: https://issues.apache.org/jira/browse/HBASE-9210 Project: HBase Issue Type: Bug Affects Versions: 0.98.0, 0.95.2 Reporter: Jeffrey Zhong Assignee: Jeffrey Zhong when starting shell with "-d" specified, the following line doesn't print anything because debug isn't set when shell is constructed. {code} "Backtrace: #{e.backtrace.join("\n ")}" if debug {code} In addition, the existing code prints the outer most exception while we normally need the root cause exception. -- 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