[
https://issues.apache.org/jira/browse/MAPREDUCE-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Abdelnur updated MAPREDUCE-2457:
------------------------------------------
Attachment: MAPREDUCE-2457.patch
testcase verifies that the primary group of the user submitting the job is used
as pool name. This is done in on of the FairScheduler testcases.
Note that the group.name will not be avail to tasks as the JT does not re-write
the job.xml to HDFS
> job submission should inject group.name (on the JT side)
> --------------------------------------------------------
>
> Key: MAPREDUCE-2457
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2457
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: jobtracker
> Affects Versions: 0.21.0, 0.22.0
> Reporter: Alejandro Abdelnur
> Assignee: Alejandro Abdelnur
> Priority: Critical
> Fix For: 0.22.0
>
> Attachments: MAPREDUCE-2457.patch
>
>
> Until Hadoop 0.20, the JobClient was injecting the property 'group.name' on
> the JobConf submitted to the JobTracker.
> Since Hadoop 0.21, due to security related changes, this is not done anymore.
> This breaks backwards compatibility for jobs/components that expect the
> 'group.name' to be automatically set at submission time.
> An example of a component being affected by this change is the FairScheduler
> where it is common to use the group.name as pool name. Different from other
> properties, a special characteristic of the group.name is that its value
> cannot be tampered by a user.
> For security reasons this should not be done (as it was done before) in the
> JobClient side. Instead, it should be done in the JobTracker when the JobConf
> is received.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira