You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/12/06 08:27:00 UTC

[jira] [Updated] (YUNIKORN-2237) Cleanup AggregateTrackedResource function

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

ASF GitHub Bot updated YUNIKORN-2237:
-------------------------------------
    Labels: newbie pull-request-available  (was: newbie)

> Cleanup AggregateTrackedResource function
> -----------------------------------------
>
>                 Key: YUNIKORN-2237
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-2237
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - common
>            Reporter: Wilfred Spiegelenburg
>            Assignee: JiaChi Wang
>            Priority: Minor
>              Labels: newbie, pull-request-available
>
> The AggregateTrackedResource is written as if it was java and not using the go language features.
> In the range for resources we should simply use:
> {code:java}
> aggregatedResourceTime[key] += int64(element) * timeDiff {code}



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