[
https://issues.apache.org/jira/browse/YUNIKORN-2736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869460#comment-17869460
]
Craig Condit commented on YUNIKORN-2736:
----------------------------------------
The problem here is you are assuming root.parent.parent1 guaranteed is
"inherited" by root.parent.c1. In fact, it doesn't. The c1 gaurantee applies to
the sum total of its children, not to each individual queue. Therefore, c1 is
not in fact over guaranteed and will not trigger preemption. To even have a
chance of this doing what you want, you'd need guaranteed set to vcores:1 on
root.parent.parent1.c1 as well.
> Preemption fails between two siblings even guaranteed set on one child and
> parent
> ---------------------------------------------------------------------------------
>
> Key: YUNIKORN-2736
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2736
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Elad Dolev
> Assignee: Manikandan R
> Priority: Major
>
> Test set up:
> root.parent.parent1 guaranteed - vcores:10, usage - vcores:2
> root.parent.parent1.c1 usage - vcores:2
> root.parent.parent1.c2 guaranteed - vcores:1
> root.parent.parent2.c3
> Expected o/p: Ask is pending on root.parent.parent1.c2 waiting for resources,
> expecting preemption to kick in to kill 1 pod running in c1.
> Please refer
> [https://github.com/apache/yunikorn-core/pull/911/files#diff-7b65cc904d1c0a0395b409e51db43bfe65238432eb96b66831c950060feac911R860]
> for more details.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]