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 6DDF7E422 for ; Tue, 25 Dec 2012 19:58:14 +0000 (UTC) Received: (qmail 73661 invoked by uid 500); 25 Dec 2012 19:58:13 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 73578 invoked by uid 500); 25 Dec 2012 19:58:13 -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 73532 invoked by uid 99); 25 Dec 2012 19:58:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Dec 2012 19:58:13 +0000 Date: Tue, 25 Dec 2012 19:58:13 +0000 (UTC) From: "Jonathan Hsieh (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-7436) Improve stack trace info dumped by ForeignExceptionSnare#rethrowException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-7436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Hsieh resolved HBASE-7436. ----------------------------------- Resolution: Fixed Fix Version/s: (was: 0.96.0) > 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 > Assignee: Jonathan Hsieh > Fix For: hbase-6055 > > 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