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

Karthik Kambatla commented on HADOOP-10127:
-------------------------------------------

{{ipc.Client}} does use {{RetryPolicies#retryUpToMaximumCountWithFixedSleep}}, 
but the fixed-sleep value passed to this policy is 1. Without a config, we ll 
have to hardcode the sleep-duration to some value (may be, 1 second) 
irrespective of the policy used. 

Higher level clients (e.g. NM -> RM etc.) use {{ipc.Client}} internally and 
hence adding configs at the higher level doesn't help either.


> Add ipc.client.connect.retry.interval to control the frequency of connection 
> retries
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10127
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10127
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 2.2.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: hadoop-10127-1.patch
>
>
> Currently, {{ipc.Client}} client attempts to connect to the server every 1 
> second. It would be nice to make this configurable to be able to connect 
> more/less frequently. Changing the number of retries alone is not granular 
> enough.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to