[ 
https://issues.apache.org/jira/browse/YARN-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791098#comment-13791098
 ] 

Sandy Ryza commented on YARN-1288:
----------------------------------

Attached patch that makes the changes discussed above. To avoid allocating and 
filling a HashMap every time acls are checked, the patch also changes 
QueueManager#getQueueAcls to QueueManager#getQueueAcl and removes the 
getQueueAcls method in Queue that is no longer needed because of this.

> Make Fair Scheduler ACLs more user friendly
> -------------------------------------------
>
>                 Key: YARN-1288
>                 URL: https://issues.apache.org/jira/browse/YARN-1288
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.2.0
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-1288.patch
>
>
> The Fair Scheduler currently defaults the root queue's acl to empty and all 
> other queues' acl to "*".  Now that YARN-1258 enables configuring the root 
> queue, we should reverse this.  This will also bring the Fair Scheduler in 
> line with the Capacity Scheduler.
> We should also not trim the acl strings, which makes it impossible to only 
> specify groups in an acl.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to