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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to