Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10543

RemoteException's unwrapRemoteException method failed for PathIOException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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

          public synchronized Throwable initCause(Throwable cause) {
              if (this.cause != this)
                  throw new IllegalStateException("Can't overwrite cause");
      

        Attachments

          Activity

            People

            • Assignee:
              yzhangal Yongjun Zhang
              Reporter:
              yzhangal Yongjun Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: