hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12052) IPC client downgrades all exception types to IOE, breaks callers trying to use them
Date Mon, 08 Jun 2015 15:12:03 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577322#comment-14577322
] 

Hudson commented on HADOOP-12052:
---------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2168 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2168/])
HADOOP-12052 IPC client downgrades all exception types to IOE, breaks callers trying to use
them. (Brahma Reddy Battula via stevel) (stevel: rev 18f680977684710037c07bb068383791e8a33a9e)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Client.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> 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
>         Attachments: HADOOP-12052.patch
>
>
> 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)

Mime
View raw message