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

Clean up RemoteException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • ipc
    • None
    • Reviewed

    Description

      RemoteException has a number of undocumented behaviors

      • o.a.h.ipc.RemoteException has no javadocs on getClassName. Reading the source, the String returned is the classname of the wrapped remote exception.
      • RemoteException(String, String) is equivalent to calling RemoteException(String, String, null)
      • Constructors allow null for all arguments
      • Some of the test code doesn't check for correct error codes to correspond with the wrapped exception type
      • methods don't document when they might return null

      Attachments

        1. HADOOP-11103.1.patch
          8 kB
          Sean Busbey
        2. HADOOP-11103.2.patch
          12 kB
          Sean Busbey

        Activity

          People

            busbey Sean Busbey
            busbey Sean Busbey
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: