[
https://issues.apache.org/jira/browse/YUNIKORN-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wilfred Spiegelenburg resolved YUNIKORN-1898.
---------------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
This is your first commit to YuniKorn.
Thank you, [~sahaajchawla]
> Cannot set guaranteed resources for a child when they are not defined for the
> parent queue.
> -------------------------------------------------------------------------------------------
>
> Key: YUNIKORN-1898
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1898
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: core - common
> Reporter: Sahaaj Singh Chawla
> Assignee: Sahaaj Singh Chawla
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> When a particular resource(s) is not defined in the guaranteed resource for a
> parent queue, Yunikorn doesn't allow us to define that particular resource in
> the guaranteed quota for children of that particular parent.
> For example,
> If we have a hierarchy like this:
> {noformat}
> root
> - parent1
> - child1{noformat}
>
> The quota for the parent1 is as follows:
> {noformat}
> Max:
> memory = 1000
> vcores = 1000
>
> Guaranteed:
> memory = 800
> {noformat}
>
> The quota which we want for child1:
> {noformat}
> Max:
> memory = 500
> vcores. = 500
>
> Guaranteed:
> memory = 200
> vcores = 200{noformat}
>
> When we try to create the child1 under parent1 with this quota, we get an
> error from Yunikorn which states that guaranteed resource of the parent is
> smaller than the sum of guaranteed resources of the children.
> The error message that we get back is as follows:
> guaranteed resource of parent map[memory:800] is smaller than sum of
> guaranteed resources map[memory:200 vcore:200] of the children for queue
> parent1
> {color:#172b4d}In such a case where we have no guaranteed quota defined for a
> particular resource, it should be checked against the max quota of the queue
> and allow the creation of the queue if the guaranteed quota of the child fits
> in the max quota of the parent.{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]