Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-526

Remove allocations count in the partition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • None
    • None
    • core - scheduler
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wwei Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: