You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Varun Saxena (JIRA)" <ji...@apache.org> on 2015/06/02 11:39:18 UTC

[jira] [Updated] (HADOOP-12052) IPC client downgrades all exception types to IOE, breaks callers trying to use them

     [ https://issues.apache.org/jira/browse/HADOOP-12052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Saxena updated HADOOP-12052:
----------------------------------
    Attachment:     (was: HADOOP-12052.01.patch)

> IPC client downgrades all exception types to IOE, breaks callers trying to use them
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-12052
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12052
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Steve Loughran
>            Assignee: Brahma Reddy Battula
>            Priority: Critical
>             Fix For: 2.8.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)