You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/08/14 02:05:47 UTC

[jira] [Updated] (HBASE-9210) "hbase shell -d" doesn't print out exception stack trace

     [ https://issues.apache.org/jira/browse/HBASE-9210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey Zhong updated HBASE-9210:
---------------------------------

    Attachment: hbase-9210.patch
    
> "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
>         Attachments: hbase-9210.patch
>
>
> 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