[ 
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-v1.patch

Add handling when error object doesn't have cause method. Thanks. 
                
> "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, hbase-9210-v1.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

Reply via email to