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 3D8F37320 for ; Thu, 29 Sep 2011 00:43:10 +0000 (UTC) Received: (qmail 67282 invoked by uid 500); 29 Sep 2011 00:43:09 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 67228 invoked by uid 500); 29 Sep 2011 00:43:09 -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 67204 invoked by uid 99); 29 Sep 2011 00:43:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2011 00:43:09 +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; Thu, 29 Sep 2011 00:43:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A6DAE28E62D for ; Thu, 29 Sep 2011 00:42:45 +0000 (UTC) Date: Thu, 29 Sep 2011 00:42:45 +0000 (UTC) From: "Aaron T. Myers (Commented) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <603691191.5949.1317256965685.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1961512426.5944.1317256965495.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7694) Calling toString() on an RPC proxy object backed by WritableRpcEngine fails 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-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116920#comment-13116920 ] Aaron T. Myers commented on HADOOP-7694: ---------------------------------------- We might consider either special casing calls to {{toString}}, since it is probably the most likely non-interface method to be called, or doing something to transparently pass through invocations to the underlying object if the method isn't declared as part of the interface which is implemented by this RPC proxy. > Calling toString() on an RPC proxy object backed by WritableRpcEngine fails > --------------------------------------------------------------------------- > > Key: HADOOP-7694 > URL: https://issues.apache.org/jira/browse/HADOOP-7694 > Project: Hadoop Common > Issue Type: Bug > Components: ipc > Affects Versions: 0.24.0 > Reporter: Aaron T. Myers > Priority: Minor > > Calling {{toString}} (or any method not declared as part of the implemented RPC interface) on a proxy object backed by {{WritableRpcEngine}} will fail. This is because the declaring class's ({{Object}}'s) {{versionID}} field is checked using reflection, which obviously doesn't exist in the case of {{Object}}. -- 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