[
https://issues.apache.org/jira/browse/YARN-10103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko updated YARN-10103:
Description:
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:
{{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}}.
was:
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}}.
> 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
>Priority: Major
>
> 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:
> {{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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org