[ https://issues.apache.org/jira/browse/MAPREDUCE-7135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608975#comment-16608975
]
Oleksandr Shevchenko commented on MAPREDUCE-7135:
-------------------------------------------------
!image-2018-09-10-13-23-46-533.png!
> 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: 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: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org
|