You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Oleksandr Shevchenko (JIRA)" <ji...@apache.org> on 2018/09/10 10:23:00 UTC
[jira] [Created] (MAPREDUCE-7135) TestTaskAttemptContainerRequest
should reset UserGroupInformation
Oleksandr Shevchenko created MAPREDUCE-7135:
-----------------------------------------------
Summary: 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
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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org