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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: