hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Krogen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-13735) Make QJM HTTP URL connection timeout configurable
Date Mon, 16 Jul 2018 19:55:00 GMT

    [ 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

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

View raw message