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

RemoteException's unwrapRemoteException method failed for PathIOException

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

        1. HADOOP-10543.001.patch
          3 kB
          Yongjun Zhang

          Activity

            People

            • Assignee:
              yzhangal Yongjun Zhang
              Reporter:
              yzhangal Yongjun Zhang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment