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

Kihwal Lee commented on HADOOP-8221:
------------------------------------

It makes sense to get rid of throwIOExceptionFromConnection(). If connection 
attempt failed or sending request resulted in an exception, it shouldn't try to 
check the http response code.  

+1 Looks good to me. Don't we need the same patch for branch-1? 
                
> Hftp connections do not have a timeout
> --------------------------------------
>
>                 Key: HADOOP-8221
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8221
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HADOOP-8221.patch
>
>
> Hftp connections do not have read timeouts.  This leads to indefinitely hung 
> sockets when there is a network outage during which time the remote host 
> closed the socket.
> This may also affect WebHdfs, etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to