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

RemoteException's unwrapRemoteException method failed for PathIOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: