[ 
https://issues.apache.org/jira/browse/HADOOP-3698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624259#action_12624259
 ] 

Hemanth Yamijala commented on HADOOP-3698:
------------------------------------------

Assuming that queues will become part of the framework, I would like to propose 
the following mechanism to handle queue configuration. The requirements are:

- Generic queue configuration, presently only queue names and ACLs, will be in 
a single place. I suggest we use the {{resource-manager-conf.xml}} to store 
this. But if people prefer {{hadoop-site}} that's fine too.
- There should be APIs to access this generic queue configuration.
- Scheduler specific queue configuration must not be in the generic queue 
configuration, as different schedulers would likely have different parameters 
to configure and they'd do them the way they want. Also, if we move to having 
schedulers in different packages or contrib, as being discussed in HADOOP-3746, 
this split would greatly help.

This does have a disadvantage that queue names and their scheduler 
configuration are at different places, but that seems like a tradeoff required 
to keep some parts of the queue administration in the core framework itself.

Does this sound right ?

If yes, I propose to make the following changes:
- Modify {{ResourceManagerConf}} to be the way to access information about 
queue names and ACLs, and remove all configuration specific to HADOOP-3445 from 
it. 
- Also, {{resource-manager-conf.xml}} will have only queue names and ACLs. 
- The configuration required for HADOOP-3445 will be moved out to a different 
file, and there will be a different package private class to access it.

Comments, please.


> Implement access control for submitting jobs to queues in the JobTracker
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-3698
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3698
>             Project: Hadoop Core
>          Issue Type: New Feature
>          Components: mapred
>            Reporter: Hemanth Yamijala
>            Assignee: Hemanth Yamijala
>             Fix For: 0.19.0
>
>
> HADOOP-3445 implements multiple queues in the JobTracker as part of the new 
> resource manager for Hadoop (HADOOP-3421). There needs to be a mechanism to 
> control who can submit jobs to a specified queue. This JIRA is for tracking 
> the requirements, approach and implementation for the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to