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

IPC client downgrades all exception types to IOE, breaks callers trying to use them

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      The HADOOP-11772 cache changes mean that an exception such as UnknownHostException being raised on a Client connect is now being returned as a simple IOException, wrapping an ExecutionException, with the real exception being hidden inside that.

      This breaks any application which uses the exception class in a try/catch statement so as to choose different actions depending on the failure mode. This has surfaced in the SLIDER-896 tests, but is likely to happen in production too.

        Attachments

        1. HADOOP-12052.patch
          1.0 kB
          Brahma Reddy Battula

          Issue Links

            Activity

              People

              • Assignee:
                brahmareddy Brahma Reddy Battula
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: