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

Erik Krogen commented on HDFS-13735:
------------------------------------

The patch LGTM except that you need to update {{hdfs-default.xml}} as well, but 
I would like to understand more about the use case. Are you saying you want to 
increase the timeouts to avoid "connect timed out" errors, or decrease the 
timeouts to make it fail more quickly? What is the implication if a timeout 
occurs here - fatal exception or retry?

> Make QJM HTTP URL connection timeout configurable
> -------------------------------------------------
>
>                 Key: HDFS-13735
>                 URL: https://issues.apache.org/jira/browse/HDFS-13735
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: qjm
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>            Priority: Minor
>         Attachments: HDFS-13735.000.patch
>
>
> We've seen "connect timed out" happen internally when QJM tries to open HTTP 
> connections to JNs. This is now using {{newDefaultURLConnectionFactory}} 
> which uses the default timeout 60s, and is not configurable.
> It would be better for this to be configurable, especially for 
> ObserverNameNode (HDFS-12943), where latency is important, and 60s may not be 
> a good value.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to