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 Tue, 11 Sep 2018 17:01:00 GMT

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

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

Thank you [~jlowe] for the review.

> 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
>            Assignee: Oleksandr Shevchenko
>            Priority: Minor
>             Fix For: 3.2.0
>
>         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