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

Hudson commented on AMBARI-9064:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1444 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1444/])
AMBARI-9064. Change retry settings in Ambari installer for nm connect retry 
(dlysnichenko) (dlysnichenko: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1f53d011e3c93951a046c88f37a405c4d34e5108)
* 
ambari-server/src/main/resources/stacks/HDPWIN/2.2/services/YARN/configuration/yarn-site.xml
* 
ambari-server/src/main/resources/stacks/HDP/2.2.GlusterFS/services/YARN/configuration/yarn-site.xml
* 
ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/yarn-site.xml


> Change retry settings in Ambari installer for nm connect retry
> --------------------------------------------------------------
>
>                 Key: AMBARI-9064
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9064
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-9064.patch
>
>
> we need to change the nm retry settings to resolve the bug. The proposed new 
> settings in yarn-site.xml are:
> yarn.client.nodemanager-connect.max-wait-ms = 60,000
> yarn.client.nodemanager-connect.retry-interval-ms = 10,000
> If the underlying rpc retry takes 1 sec * 50 times to finish (50 secs), this 
> will make each round of retry to be 10 + 50 secs = 1 minute. From the code, 
> there will be 60,000 / 10,000 = 6 times of retries. So, in total, if the node 
> manager accidentally crashed and never goes up, we well retry 1 minute * 6 
> times = 6 minutes. The whole calculation is based on the rpc settings (50 
> times, 1 sec sleep time),



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to