[
https://issues.apache.org/jira/browse/YARN-10386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17185899#comment-17185899
]
Peter Bacsko commented on YARN-10386:
-------------------------------------
Ok, had a discussion with [~shuzirra]. Now I can better understand what he
meant above.
The following changes will be introduced:
1. "nestedUserRule" will be removed, because it's used only in case of
"nestedUserRule" policy.
2. Add two new policies "secondaryGroupUser" and "primaryGroupUser".
3. Remove "defaultQueue" setting. The default queue will be set with a
different rule.
4. Also introduce "setDefaultQueue" policy. This will change the default queue
until it's set to something else.
5. The naming of "queue" is misleading, let's change that to sth like
"parentQueue" or "parentQueuePath".
6. Custom policy: we can keep this and add a "custom" field perhaps. This can
contain any random definition like
{{root.user.%primary_group.%secondary_group}} and it will not be rejected. The
tool won't validate whether the string makes any sense or not.
> Create new JSON schema for Placement Rules
> ------------------------------------------
>
> Key: YARN-10386
> URL: https://issues.apache.org/jira/browse/YARN-10386
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: capacity scheduler, capacityscheduler
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Attachments: MappingRulesDescription_v1.json, YARN-10386-001.patch,
> YARN-10386-002.patch, YARN-10386-003.patch, YARN-10386-004.patch,
> YARN-10386-005.patch, YARN-10386-006.patch
>
>
> Tasks in this JIRA:
> # Create new JSON schema
> # Add Maven plugin which generates Java POJOs based on the schema
> # Add helper class which essentially does the same as #2 (for dev purposes)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]