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 "Hudson (JIRA)" <ji...@apache.org> on 2018/02/27 16:01:00 UTC

[jira] [Commented] (HADOOP-15178) Generalize NetUtils#wrapException to handle other subclasses with String Constructor

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

Hudson commented on HADOOP-15178:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13724 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13724/])
HADOOP-15178. Generalize NetUtils#wrapException to handle other (arp: rev 28f644bf25b80a6642ce1f32f1688a8d8f4c7cca)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java
* (edit) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java


> Generalize NetUtils#wrapException to handle other subclasses with String Constructor
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15178
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15178
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Ajay Kumar
>            Assignee: Ajay Kumar
>            Priority: Major
>             Fix For: 3.1.0
>
>         Attachments: HADOOP-15178.001.patch, HADOOP-15178.002.patch, HADOOP-15178.003.patch
>
>
> NetUtils#wrapException returns an IOException if exception passed to it is not of type SocketException,EOFException,NoRouteToHostException,SocketTimeoutException,UnknownHostException,ConnectException,BindException.
> By default, it  should always return instance (subclass of IOException) of same type unless a String constructor is not available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org