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

Tsz Wo (Nicholas), SZE commented on HDFS-3166:
----------------------------------------------

- Instead of duplicating httpTimeout and getURLConnection(URL url), how about 
moving them to a utility class, say org.apache.hadoop.hdfs.web.HttpUtil?

- Could you also fix WebHdfsFileSystem?
                
> Hftp connections do not have a timeout
> --------------------------------------
>
>                 Key: HDFS-3166
>                 URL: https://issues.apache.org/jira/browse/HDFS-3166
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 0.23.2, 0.23.3, 2.0.0, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HADOOP-8221.branch-1.patch, HADOOP-8221.patch, 
> 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