You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Hedger Lai (Jira)" <ji...@apache.org> on 2026/10/08 15:28:00 UTC
[jira] [Updated] (YUNIKORN-3507) [Core] Account for preempting resources when calculating preemptable resources in quota preemption
[ https://issues.apache.org/jira/browse/YUNIKORN-3507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hedger Lai updated YUNIKORN-3507:
---------------------------------
Parent: YUNIKORN-3186
Issue Type: Sub-task (was: Bug)
> [Core] Account for preempting resources when calculating preemptable resources in quota preemption
> --------------------------------------------------------------------------------------------------
>
> Key: YUNIKORN-3507
> URL: https://issues.apache.org/jira/browse/YUNIKORN-3507
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - scheduler
> Reporter: Hedger Lai
> Assignee: Hedger Lai
> Priority: Major
>
> During quota change preemption, allocations that have already been preempted and are undergoing graceful termination are tracked in the queue's preemptingResource. While QuotaPreemptionContext.setPreemptableResources() deducts preemptingResource from allocatedResource when checking maxResource overflow, Queue.GetPreemptableResource() and getChildQueuesPreemptableResource() use raw allocatedResource without subtracting preemptingResource.
> As a result, in-flight preempted allocations that are already shutting down are still counted as active usage above guaranteed quota, which can cause child queues to be over-assigned preemption targets or preempt additional victims unnecessarily.
> Both Queue.GetPreemptableResource() and getChildQueuesPreemptableResource() should deduct preemptingResource from allocatedResource before computing preemptable resources.
--
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