[ 
https://issues.apache.org/jira/browse/HADOOP-6686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854603#action_12854603
 ] 

Suresh Srinivas commented on HADOOP-6686:
-----------------------------------------

After running a quick test, looks like in Throwable#printStackTrace(), the 
first line printed is Throwable#toString(). This means the change you suggested 
can be made without losing the wrapped exception info, if we add toString() to 
RemoteException to print wrapped exception name.

> Remove redundant exception class name in unwrapped exceptions thrown at the 
> RPC client
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-6686
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6686
>             Project: Hadoop Common
>          Issue Type: Improvement
>         Environment: At RPC client, when the exception thrown by the server 
> is unwrapped, the exception message includes redundant exception class name. 
> This redundant information should be removed.
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6686.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to