[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-dev
Subject:    [jira] [Created] (HADOOP-10543) RemoteException's unwrapRemoteException method failed for PathIOExce
From:       "Yongjun Zhang (JIRA)" <jira () apache ! org>
Date:       2014-04-27 18:06:14
Message-ID: JIRA.12710799.1398621866200.188929.1398621974833 () arcas
[Download RAW message or body]

Yongjun Zhang created HADOOP-10543:
--------------------------------------

             Summary: 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


If the cause of a RemoteException is PathIOException, RemoteException's \
unwrapRemoteException methods would fail, because PathIOException overwrites 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic