hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subru Krishnan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6813) TestAMRMProxy#testE2ETokenRenewal fails sporadically due to race conditions
Date Wed, 12 Jul 2017 19:12:00 GMT

    [ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message