You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2021/01/30 00:06:00 UTC
[jira] [Created] (YUNIKORN-526) Remove allocations count in the
partition
Weiwei Yang created YUNIKORN-526:
------------------------------------
Summary: 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
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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org