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

Excessive resource clone calls in calculateNodesResourceUsage()

    XMLWordPrintableJSON

Details

    Description

      The node calculateNodesResourceUsage clones theĀ  resource object inside a loop. The clone is correct as the allocated resource could be changed while the calculation is happening in the scheduling cycle. However it should not happen inside the loop.

      Attachments

        1. image.png
          274 kB
          Wilfred Spiegelenburg

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: