hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11212) NetUtils.wrapException to handle SocketException explicitly
Date Wed, 02 Mar 2016 14:47:18 GMT

     [ 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)

Mime
View raw message