[
https://issues.apache.org/jira/browse/HADOOP-10543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985540#comment-13985540
]
Hudson commented on HADOOP-10543:
---------------------------------
FAILURE: Integrated in Hadoop-Hdfs-trunk #1747 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1747/])
HADOOP-10543. RemoteException's unwrapRemoteException method failed for
PathIOException. Contributed by Yongjun Zhang. (atm:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1591181)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/PathIOException.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestPathExceptions.java
> 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
> Fix For: 2.5.0
>
> 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)