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] [Commented] (HADOOP-9576) Make NetUtils.wrapException throw EOFException instead of wrapping it as IOException
Date Sat, 18 May 2013 03:23:16 GMT

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

Steve Loughran commented on HADOOP-9576:
----------------------------------------

Makes sense -that wrapping was meant to cover the expected problems and make them easier to
diagnose -swallowing the common exception types was never the goal.

                
> 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
>            Reporter: Jian He
>            Assignee: Jian He
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message