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 "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/03/02 15:47:18 UTC
[jira] [Updated] (HADOOP-11212) NetUtils.wrapException to handle
SocketException explicitly
[ https://issues.apache.org/jira/browse/HADOOP-11212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Loughran updated HADOOP-11212:
------------------------------------
Attachment: HADOOP-11212-001.patch
Patch 001, adds the exception. Some of the exceptions above (e.g NoRouteToHostException) are subclasses of SocketException —so that must go last. A comment emphasises that point.
I would include a new stack trace, but SLIDER-1096 covers how I can't build/test against Hadoop 2.8.0 right now
> NetUtils.wrapException to handle SocketException explicitly
> -----------------------------------------------------------
>
> Key: HADOOP-11212
> URL: https://issues.apache.org/jira/browse/HADOOP-11212
> Project: Hadoop Common
> Issue Type: Improvement
> Components: util
> Affects Versions: 3.0.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Attachments: HADOOP-11212-001.patch
>
>
> the {{NetUtil.wrapException()} method doesn't catch {{SocketException}}, so it is wrapped with an IOE —this loses information, and stops any extra diags /wiki links being added
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)