[
https://issues.apache.org/jira/browse/YARN-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Lowe updated YARN-5092:
-----------------------------
Attachment: YARN-5092.002.patch
Thanks for the review, Rohith!
Good catch on the rm1.stop() suggestion. Clearing the queue metrics wasn't
causing the default metrics exception, that was the failure to stop. Clearing
the queue metrics fixed the class cast exception, but I went ahead with your
suggestion to remove the scheduler setting as another way to fix it since it
seemed unrelated to the test.
Also added the setLoginUser change in the setup method. Tested both orderings
of the tests.
> TestRMDelegationTokens fails intermittently
> --------------------------------------------
>
> Key: YARN-5092
> URL: https://issues.apache.org/jira/browse/YARN-5092
> Project: Hadoop YARN
> Issue Type: Test
> Components: test
> Affects Versions: 2.7.2
> Reporter: Rohith Sharma K S
> Assignee: Jason Lowe
> Attachments: YARN-5092.001.patch, YARN-5092.002.patch
>
>
> In build
> [link|https://builds.apache.org/job/PreCommit-YARN-Build/11476/artifact/patchprocess/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager-jdk1.7.0_101.txt]
> , TestRMDelegationTokens fails for 2 test cases
> # TestRMDelegationTokens.testRMDTMasterKeyStateOnRollingMasterKey
> # TestRMDelegationTokens.testRemoveExpiredMasterKeyInRMStateStore
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]