You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2024/09/17 16:54:00 UTC

[jira] [Resolved] (YUNIKORN-2855) Rethink the call for update metrics with nil resource

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

Craig Condit resolved YUNIKORN-2855.
------------------------------------
    Fix Version/s: 1.7.0
       Resolution: Fixed

Merged to master.

> Rethink the call for update metrics with nil resource
> -----------------------------------------------------
>
>                 Key: YUNIKORN-2855
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2855
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler
>            Reporter: Qi Zhu
>            Assignee: Qi Zhu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> We support setting maxResource/ guaranteed resource to nil, but the metrics update is wrong because we don't update it from previous value update to zero/nil, for example:
> https://github.com/apache/yunikorn-core/blob/7c51e82f09720b014159e0ba2f48d5e600a1f96c/pkg/scheduler/objects/queue.go#L415
> https://github.com/apache/yunikorn-core/blob/7c51e82f09720b014159e0ba2f48d5e600a1f96c/pkg/scheduler/objects/queue.go#L441



--
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