[ 
https://issues.apache.org/jira/browse/YARN-9893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Bacsko updated YARN-9893:
-------------------------------
    Description: 
Capacity Scheduler does not support two percentage values for leaf queue 
capacity and maximum-capacity settings. So, you can't do something like this:

{{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=50.0%,
 vcores=50.0%}}

Only a single percentage value is accepted.

This makes it nearly impossible to properly convert a similar setting from Fair 
Scheduler, where such a configuration is valid and accepted 
({{<maxChildResources>}}).

Note: using absolute resources 
({{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=16384,
 vcores=8}}) is addressed in YARN-10154.



  was:
Capacity Scheduler does not support two percentage values for leaf queue 
capacity and maximum-capacity settings. So, you can't do something like this:

{{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=50.0%,
 vcores=50.0%}}

On top of that, it's not even possible to define absolute resources:

{{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=16384,
 vcores=8}}

Only a single percentage value is accepted.

This makes it nearly impossible to properly convert a similar setting from Fair 
Scheduler, where such a configuration is valid and accepted 
({{<maxChildResources>}}).


> Capacity scheduler: enhance leaf-queue-template capacity / maximum-capacity 
> setting
> -----------------------------------------------------------------------------------
>
>                 Key: YARN-9893
>                 URL: https://issues.apache.org/jira/browse/YARN-9893
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler
>            Reporter: Peter Bacsko
>            Assignee: Manikandan R
>            Priority: Major
>
> Capacity Scheduler does not support two percentage values for leaf queue 
> capacity and maximum-capacity settings. So, you can't do something like this:
> {{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=50.0%,
>  vcores=50.0%}}
> Only a single percentage value is accepted.
> This makes it nearly impossible to properly convert a similar setting from 
> Fair Scheduler, where such a configuration is valid and accepted 
> ({{<maxChildResources>}}).
> Note: using absolute resources 
> ({{yarn.scheduler.capacity.root.users.john.leaf-queue-template.capacity=memory-mb=16384,
>  vcores=8}}) is addressed in YARN-10154.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to