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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0
    • fairscheduler
    • None
    • 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:templedf, leftnoteasy

      Attachments

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

        Issue Links

          Activity

            People

              snemeth Szilard Nemeth
              Sen Zhao Sen Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: