hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7436) Improve stack trace info dumped by ForeignExceptionSnare#rethrowException
Date Tue, 25 Dec 2012 19:58:12 GMT

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

Jonathan Hsieh updated HBASE-7436:
----------------------------------

    Attachment: hbase-7436.add.patch

Addendum -- missed the unit test update on commit.
                
> Improve stack trace info dumped by ForeignExceptionSnare#rethrowException
> -------------------------------------------------------------------------
>
>                 Key: HBASE-7436
>                 URL: https://issues.apache.org/jira/browse/HBASE-7436
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client, master, regionserver, snapshots, Zookeeper
>            Reporter: Jonathan Hsieh
>             Fix For: hbase-6055, 0.96.0
>
>         Attachments: hbase-7436.add.patch, hbase-7436.patch
>
>
> Currently the way rethrowException works it throws an exception with the stack where
the ForeignException was locally created (normally where it gets deserialized, and with a
getCause with the stack of the original thread on the remote thread.
> Unfortunately, this doesn't provide any in formation about which call to rethrowException
locally tripped over the exception.  This simple patch wraps again to get the stack info which
provides this missing context.

--
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

Mime
View raw message