Tasks execed by the task controller shouldn't inherit tasktracker groups
------------------------------------------------------------------------
Key: HADOOP-5686
URL: https://issues.apache.org/jira/browse/HADOOP-5686
Project: Hadoop Core
Issue Type: Bug
Components: mapred
Environment: hadoo 0.20 + patches, Linux Task controller
Reporter: Rajiv Chittajallu
Mapred tasks process seem to inherit the group list from the TaskTracker daemon
instead of the task owner.
tom 26633 15736 0 21:33 ? 00:00:02 /usr/bin/java ...
org.apache.hadoop.mapred.Child 127.0.0.1 51207 ..
mapred 15736 1 2 Apr08 ? 03:54:59 /usr/bin/java ...
org.apache.hadoop.mapred.TaskTracker
hadoop1:~$ id mapred
uid=50589(mapred) gid=100(users) groups=100(users),20001(hadoop)
hadoop1:~$ fgrep Groups /proc/26633/status
Groups: 100 20001
hadoop1:~$ id tom
uid=47765(tom) gid=100(users) groups=100(users),10764(ninjas)
org.apache.hadoop.mapred.LinuxTaskController should set the user supplimentary
group list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.