Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE986175CA for ; Tue, 2 Jun 2015 09:36:17 +0000 (UTC) Received: (qmail 55273 invoked by uid 500); 2 Jun 2015 09:36:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 55219 invoked by uid 500); 2 Jun 2015 09:36:17 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 55206 invoked by uid 99); 2 Jun 2015 09:36:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jun 2015 09:36:17 +0000 Date: Tue, 2 Jun 2015 09:36:17 +0000 (UTC) From: "Brahma Reddy Battula (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HADOOP-12052) IPC client downgrades all exception types to IOE, breaks callers trying to use them MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brahma Reddy Battula reassigned HADOOP-12052: --------------------------------------------- Assignee: Brahma Reddy Battula > 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)