You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Sahaaj Singh Chawla (Jira)" <ji...@apache.org> on 2023/08/03 10:38:00 UTC
[jira] [Created] (YUNIKORN-1898) Cannot set guaranteed resources for a child when they are not defined for the parent queue.
Sahaaj Singh Chawla created YUNIKORN-1898:
---------------------------------------------
Summary: 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
Reporter: Sahaaj Singh Chawla
Assignee: Sahaaj Singh Chawla
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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org