[
https://issues.apache.org/jira/browse/MAPREDUCE-7135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleksandr Shevchenko updated MAPREDUCE-7135:
--------------------------------------------
Attachment: MAPREDUCE-7135.002.patch
Status: Patch Available (was: Open)
> TestTaskAttemptContainerRequest should reset UserGroupInformation
> -----------------------------------------------------------------
>
> Key: MAPREDUCE-7135
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-7135
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Reporter: Oleksandr Shevchenko
> Priority: Minor
> Attachments: MAPREDUCE-7135.001.patch, MAPREDUCE-7135.002.patch,
> MAPREDUCE-7135.002.patch, image-2018-09-10-13-23-46-533.png
>
>
> TestTaskAttemptContainerRequest should reset UserGroupInformation after end
> since this test cache UserGroupInformation and can be cause of other test
> fail. For example, all test in TestRMContainerAllocator will be failed if we
> run these tests after TestTaskAttemptContainerRequest (or we can change
> "UserGroupInformation.setLoginUser(null)" with UserGroupInformation.reset()
> in this class).
> Also, I think the WARNING message in TestTaskAttemptContainerRequest can be
> removed since we can reset UserGroupInformation after each test.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]