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

Fix mismatch in default values for yarn.scheduler.maximum-allocation-vcores property

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Default value for 'yarn.scheduler.maximum-allocation-vcores' changed from 32 to 4.

      Description

      In yarn-default.xml, the property is defined as:

      XML Property: yarn.scheduler.maximum-allocation-vcores
      XML Value: 32

      In YarnConfiguration.java the corresponding member variable is defined as:

      Config Name: DEFAULT_RM_SCHEDULER_MAXIMUM_ALLOCATION_VCORES
      Config Value: 4

      The Config value comes from YARN-193 and the default xml property comes from YARN-2. Should we keep it this way or should one of the values get updated?

        Attachments

        1. YARN-3823.001.patch
          1 kB
          Ray Chiang
        2. YARN-3823.002.patch
          0.7 kB
          Ray Chiang

          Activity

            People

            • Assignee:
              rchiang Ray Chiang
              Reporter:
              rchiang Ray Chiang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: