hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10543) RemoteException's unwrapRemoteException method failed for PathIOException
Date Wed, 30 Apr 2014 03:21:15 GMT

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

Aaron T. Myers commented on HADOOP-10543:
-----------------------------------------

+1, the patch looks good to me. I'm going to commit this momentarily.

> RemoteException's unwrapRemoteException method failed for PathIOException
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-10543
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10543
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>         Attachments: HADOOP-10543.001.patch
>
>
> If the cause of a RemoteException is PathIOException, RemoteException's unwrapRemoteException
methods would fail, because some PathIOException constructors initialize the cause to null,
which makes Throwable to throw exception at
> {code}
>     public synchronized Throwable initCause(Throwable cause) {
>         if (this.cause != this)
>             throw new IllegalStateException("Can't overwrite cause");
> {code} 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message