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-9576) Make NetUtils.wrapException throw EOFException instead of wrapping it as IOException
Date Tue, 11 Nov 2014 15:18:34 GMT

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

Hudson commented on HADOOP-9576:
--------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1954 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1954/])
HADOOP-9576. Changed NetUtils#wrapException to throw EOFException instead of wrapping it as
IOException. Contributed by Steve Loughran (jianhe: rev 86bf8c7193013834f67e03bd67a320cc080ef32c)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/net/NetUtils.java
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/TestNetUtils.java


> Make NetUtils.wrapException throw EOFException instead of wrapping it as IOException
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9576
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9576
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.6.0
>            Reporter: Jian He
>            Assignee: Steve Loughran
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-9576-003.patch
>
>
> In case of EOFException, NetUtils is now wrapping it as IOException, we may want to throw
EOFException as it is, since EOFException can happen when connection is lost in the middle,
the client may want to explicitly handle such exception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message