Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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