hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9106) Allow configuration of IPC connect timeout
Date Sat, 05 Jan 2013 02:40:12 GMT

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

Suresh Srinivas commented on HADOOP-9106:

bq.  think making setConnectionTimeout static will not allow configuring 'per-client' which
is desired
When a Client is created conf is passed to it in constructor. Given that the connection timeout
in this patch is reading the timeout off of this conf, the timeout should be set in the conf
object before it is used in the Client constructor and it can be done using a static method.
bq. Maybe we can change the default 20s to a smaller value as well, 
I think 20s should be fine. With this configurability you can change it. Lets do it in another
> Allow configuration of IPC connect timeout
> ------------------------------------------
>                 Key: HADOOP-9106
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9106
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.0.0
>            Reporter: Todd Lipcon
>            Assignee: Robert Parker
>         Attachments: HADOOP-9106v1.patch, HADOOP-9106v2.patch
> Currently the connection timeout in Client.setupConnection() is hard coded to 20seconds.
This is unreasonable in some scenarios, such as HA failover, if we want a faster failover
time. We should allow this to be configured per-client.

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

View raw message