[
https://issues.apache.org/jira/browse/MAPREDUCE-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805771#action_12805771
]
Amareshwari Sriramadasu commented on MAPREDUCE-1421:
----------------------------------------------------
Looks like the validation itself is wrong in TestDebugScript:
{code}
- String ttGroup = UnixUserGroupInformation.login().getGroupNames()[0];
+ Groups groups = new Groups(new Configuration());
+ String ttGroup = groups.getGroups(expectedUser).get(0);
{code}
The above code should look at group of the getCurrentUser(), not expectedUser.
> TestDebugScriptWithLinuxTaskController and TestJobExecutionAsDifferentUser
> fail on trunk
> ----------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-1421
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1421
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: tasktracker, test
> Affects Versions: 0.22.0
> Reporter: Amareshwari Sriramadasu
> Fix For: 0.22.0
>
> Attachments: TestJobExecutionAsDifferentUser.patch
>
>
> TestDebugScriptWithLinuxTaskController and TestJobExecutionAsDifferentUser
> fail on trunk after the commit of MAPREDUCE-1385
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.