Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9047

FairScheduler: default resource calculator is not resource type aware

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fairscheduler
    • Labels:
      None

      Description

      The FairScheduler#getResourceCalculator always returns the default resource calculator. The default calculator is not resource type aware and should only be used if there are no resource types configured.

      We need to make sure that in we the direct hard code reference to RESOURCE_CALCULATOR is either safe to use in all cases or is not used in the scheduler.

        Attachments

        1. YARN-9047.003.patch
          9 kB
          Szilard Nemeth
        2. YARN-9047.002.patch
          7 kB
          Szilard Nemeth
        3. YARN-9047.001.patch
          7 kB
          Szilard Nemeth

          Issue Links

            Activity

              People

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                wilfreds Wilfred Spiegelenburg
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: