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

FairScheduler should not parse negative maxResources or minResources values as positive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: fairscheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      If maxResources or minResources is configured as a negative number, the value will be positive after parsing.
      If this is a problem, I will fix it. If not, the FairSchedulerConfiguration#parseNewStyleResource parse negative number should be same with parseOldStyleResource .

      cc:Daniel Templeton, Wangda Tan

        Attachments

        1. YARN-8738.003.patch
          18 kB
          Szilard Nemeth
        2. YARN-8738.002.patch
          22 kB
          Szilard Nemeth
        3. YARN-8738.001.patch
          22 kB
          Szilard Nemeth

          Issue Links

            Activity

              People

              • Assignee:
                snemeth Szilard Nemeth
                Reporter:
                Sen Zhao Sen Zhao
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: