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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: