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

Subru Krishnan commented on YARN-6813:
--------------------------------------

[~jlowe], thanks for reporting this. The heartbeat interval was kept 
intentionally low as the purpose of the test was to trigger token renewals. We 
can either reduce the AM/NM heartbeat interval or increase the AM expiry 
interval. 
I prefer the former as the latter will result in longer time for triggering 
token renewal. Thoughts?

> TestAMRMProxy#testE2ETokenRenewal fails sporadically due to race conditions
> ---------------------------------------------------------------------------
>
>                 Key: YARN-6813
>                 URL: https://issues.apache.org/jira/browse/YARN-6813
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.8.1
>            Reporter: Jason Lowe
>
> The testE2ETokenRenewal test lowers the AM and nodemanager heartbeat 
> intervals to only 1.5 seconds.  This leaves very little headroom over the 
> default heartbeat intervals of 1 second. If the AM hits a hiccup and runs a 
> bit slower than expected the unit test can fail because the RM expires the AM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to