You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2024/07/31 13:55:00 UTC
[jira] [Assigned] (YUNIKORN-2777) Improve TrackedResource type
[ https://issues.apache.org/jira/browse/YUNIKORN-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Bacsko reassigned YUNIKORN-2777:
--------------------------------------
Assignee: Peter Bacsko
> Improve TrackedResource type
> ----------------------------
>
> Key: YUNIKORN-2777
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2777
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - common
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Minor
>
> Currently, TrackedResource is defined as:
> {noformat}
> type TrackedResource struct {
> TrackedResourceMap map[string]map[string]int64
> locking.RWMutex
> }
> {noformat}
> As it turned out during the review of [YUNIKORN-2652|https://github.com/apache/yunikorn-core/pull/897], {{TrackedResourceMap}} is actually {{map[string]*Resource}}. If we change the definition, we'll be able to use the existing functions for {{Resource}}.
--
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