Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 710AC9092 for ; Mon, 3 Oct 2011 20:43:59 +0000 (UTC) Received: (qmail 16727 invoked by uid 500); 3 Oct 2011 20:43:59 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 16662 invoked by uid 500); 3 Oct 2011 20:43:59 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 16644 invoked by uid 99); 3 Oct 2011 20:43:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 20:43:59 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2011 20:43:56 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4B8D32A7DF7 for ; Mon, 3 Oct 2011 20:43:35 +0000 (UTC) Date: Mon, 3 Oct 2011 20:43:35 +0000 (UTC) From: "Todd Lipcon (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <2055096908.4455.1317674615311.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <767793560.5965.1317257805561.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7695) RPC.stopProxy can throw unintended exception while logging error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-7695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119583#comment-13119583 ] Todd Lipcon commented on HADOOP-7695: ------------------------------------- +1 > RPC.stopProxy can throw unintended exception while logging error > ---------------------------------------------------------------- > > Key: HADOOP-7695 > URL: https://issues.apache.org/jira/browse/HADOOP-7695 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 0.24.0 > Reporter: Aaron T. Myers > Assignee: Aaron T. Myers > Fix For: 0.24.0 > > Attachments: HADOOP-7695.patch > > > {{RPC.stopProxy}} includes the following lines in case of error: > {code} > LOG.error("Could not get invocation handler " + invocationHandler + > " for proxy " + proxy + ", or invocation handler is not closeable."); > {code} > Trouble is, the {{proxy}} object is usually backed by {{WritableRpcEngine}}, which will fail in the event {{toString}} is called on one of its proxy objects. See HADOOP-7694 for more details on that issue. Until that's addressed, we might as well change the log message in {{RPC.stopProxy}} to not call {{toString()}} on {{proxy}}. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira