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 17:00:00 UTC
[jira] [Updated] (YUNIKORN-2855) Handle nil properly in queue metrics
[ https://issues.apache.org/jira/browse/YUNIKORN-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig Condit updated YUNIKORN-2855:
-----------------------------------
Summary: Handle nil properly in queue metrics (was: Rethink the call for update metrics with nil resource)
> Handle nil properly in queue metrics
> ------------------------------------
>
> 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