[
https://issues.apache.org/jira/browse/HADOOP-7694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117199#comment-13117199
]
Steve Loughran commented on HADOOP-7694:
----------------------------------------
It crops up a lot in debuggers that auto toString() things...these should never
fail. FWIW SmartFrog's toString() code splits up into a local (proxy side,
should not fail) and a remote operation that provides whatever real string
stuff that the endpoint choses to provide, and which can throw RemoteExceptions
when called. The former gives you a hint about the endpoint, the latter about
remote state -with the caveat that you are doing an RPC round trip that may fail
> 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