Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7069 [Umbrella] YARN Resource Profiles phase#2 enhancements
  3. YARN-6984

DominantResourceCalculator.isAnyMajorResourceZero() should test all resources

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • YARN-3926
    • 3.0.0, 3.1.0
    • scheduler
    • None
    • Reviewed

    Description

      The method currently tests only memory and CPU. It looks to me like it should test all resources, i.e. it should do what isInvalidDivisor() does and should, in fact, replace that method. sunilg, since you wrote the method originally, can you comment on what its intended semantics are?

      Attachments

        1. YARN-6984.001.patch
          1 kB
          Sunil G
        2. YARN-6984.002.patch
          1 kB
          Sunil G
        3. YARN-6984.branch-3.0.001.patch
          1 kB
          Daniel Templeton

        Activity

          People

            sunilg Sunil G
            templedf Daniel Templeton
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: