Peter Bacsko created YARN-10103:
-----------------------------------

             Summary: Capacity scheduler: add support for create=true/false per 
mapping rule
                 Key: YARN-10103
                 URL: https://issues.apache.org/jira/browse/YARN-10103
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Peter Bacsko


You can't ask Capacity Scheduler for a mapping to create a queue if it doesn't 
exist.

For example, this mapping would use the first rule if the queue exist. If it 
doesn't, then it proceeds to the next rule.

Example:
{{u:%user:%primary_group.%user:create=false;u:%user%:root.default}}

Let's say user "alice" belongs to the "admins" group. It would first try to map 
{{root.admins.alice}}. But, if the queue doesn't exist, then it places the 
application into {{root.default}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to