[
https://issues.apache.org/jira/browse/YARN-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972163#comment-13972163
]
Junping Du commented on YARN-1947:
----------------------------------
Thanks for the patch, Jian! A few comments below:
{code}
+ int count = 0;
+ while (rmDTState.containsKey(dtId1) && count < 100) {
+ Thread.sleep(100);
}
{code}
shouldn't be adding "count++" somewhere?
> TestRMDelegationTokens#testRMDTMasterKeyStateOnRollingMasterKey is failing
> intermittently
> -----------------------------------------------------------------------------------------
>
> Key: YARN-1947
> URL: https://issues.apache.org/jira/browse/YARN-1947
> Project: Hadoop YARN
> Issue Type: Test
> Reporter: Jian He
> Assignee: Jian He
> Attachments: YARN-1947.1.patch
>
>
> java.lang.AssertionError: null
> at org.junit.Assert.fail(Assert.java:92)
> at org.junit.Assert.assertTrue(Assert.java:43)
> at org.junit.Assert.assertTrue(Assert.java:54)
> at
> org.apache.hadoop.yarn.server.resourcemanager.security.TestRMDelegationTokens.testRMDTMasterKeyStateOnRollingMasterKey(TestRMDelegationTokens.java:117)
--
This message was sent by Atlassian JIRA
(v6.2#6252)