hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleksandr Shevchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-7135) TestTaskAttemptContainerRequest should reset UserGroupInformation
Date Mon, 10 Sep 2018 10:31:00 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-7135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16608980#comment-16608980
] 

Oleksandr Shevchenko commented on MAPREDUCE-7135:
-------------------------------------------------

Attached two patches:
1. Just adds cleanup after all tests in class. [^MAPREDUCE-7135.001.patch]
2. Remove WARNING message and resets UserGroupInformation after each test. [^MAPREDUCE-7135.002.patch]

Please, review the patches.
Thanks.

> 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, 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


Mime
View raw message