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

Cleanup AggregateTrackedResource function

    XMLWordPrintableJSON

Details

    Description

      The AggregateTrackedResource is written as if it was java and not using the go language features.

      In the range for resources we should simply use:

      aggregatedResourceTime[key] += int64(element) * timeDiff 

      Attachments

        Issue Links

          Activity

            People

              targetoee JiaChi Wang
              wilfreds Wilfred Spiegelenburg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: