[
https://issues.apache.org/jira/browse/MAPREDUCE-1573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod K V updated MAPREDUCE-1573:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
I've just checked this in. Thanks Ravi!
> TestStreamingAsDifferentUser fails if run as tt_user
> ----------------------------------------------------
>
> Key: MAPREDUCE-1573
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1573
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: task-controller, test
> Affects Versions: 0.22.0
> Reporter: Ravi Gummadi
> Assignee: Ravi Gummadi
> Fix For: 0.22.0
>
> Attachments: 1573.patch
>
>
> TestStreamingAsDifferentUser fails if run as tt_user. MAPREDUCE-890 didn't
> make the necessary changes needed for the newly added testcase in
> TestStreamignAsDifferentUser.
> {code}
> Testcase: testStreamingWithDistCache took 21.228 sec
> FAILED
> Path /tmp/hadoop-gravi/mapred/local/0_0/taskTracker/gravi/distcache has the
> permissions drwxrws--- instead of the expected dr-xrws---
> junit.framework.AssertionFailedError: Path
> /tmp/hadoop-gravi/mapred/local/0_0/taskTracker/gravi/distcache has the
> permissions drwxrws--- instead of the expected dr-xrws--- at
> org.apache.hadoop.mapred.TestTaskTrackerLocalization.checkFilePermissions(TestTaskTrackerLocalization.java:292)
> at
> org.apache.hadoop.mapred.ClusterWithLinuxTaskController.checkPermissionsOnDir(ClusterWithLinuxTaskController.java:440)
> at
> org.apache.hadoop.mapred.ClusterWithLinuxTaskController.checkPermissionsOnPrivateDistCache(ClusterWithLinuxTaskController.java:354)
> at
> org.apache.hadoop.streaming.TestStreamingAsDifferentUser$2.run(TestStreamingAsDifferentUser.java:157)
> at
> org.apache.hadoop.streaming.TestStreamingAsDifferentUser$2.run(TestStreamingAsDifferentUser.java:120)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:396)
> at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706)
> at
> org.apache.hadoop.streaming.TestStreamingAsDifferentUser.testStreamingWithDistCache(TestStreamingAsDifferentUser.java:120)
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.