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

Suresh Srinivas commented on HADOOP-9106:
-----------------------------------------

Quick comments:
# Client.java - please make the newly added method setConnectionTimeout into 
static
# The getConnectionTimeout() method is not needed. Please save the connection 
timeout in a final member varilable in {{Client}} instead of getting it from 
the configuration every time.

                
> 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

Reply via email to