You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/10/19 07:31:00 UTC
[jira] [Resolved] (YUNIKORN-526) Remove allocations count in the partition
[ https://issues.apache.org/jira/browse/YUNIKORN-526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wilfred Spiegelenburg resolved YUNIKORN-526.
--------------------------------------------
Resolution: Won't Fix
We use the counts internally for testing and expose the count in the REST call
closing as won't fix
> Remove allocations count in the partition
> -----------------------------------------
>
> Key: YUNIKORN-526
> URL: https://issues.apache.org/jira/browse/YUNIKORN-526
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler
> Reporter: Weiwei Yang
> Priority: Trivial
>
> YUNIKORN-461 removes the allocations map from the partition, but it still left an allocations count. That means when we add or remove allocations, we have to update this count in the partition too. I think we can remove that and reimplement GetTotalAllocationCount(), and simply loop all the apps and sum allocations of all apps. Some more discussion can be found here: https://github.com/apache/incubator-yunikorn-core/pull/242#discussion_r566452486
--
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