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

Unify the default value for yarn.scheduler.capacity.node-locality-delay in code and default xml file

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      For the configuration item "yarn.scheduler.capacity.node-locality-delay" the default value given in code is "-1"

      public static final int DEFAULT_NODE_LOCALITY_DELAY = -1;

      In the default capacity-scheduler.xml file in the resource manager config directory it is 40.

      Can it be unified to avoid confusion when the user creates the file without this configuration. IF he expects the values in the file to be default values, then it will be wrong.

      Attachments

        1. YARN-3018-1.patch
          1 kB
          nijel
        2. YARN-3018-2.patch
          1 kB
          nijel
        3. YARN-3018-3.patch
          1 kB
          nijel
        4. YARN-3018-4.patch
          4 kB
          nijel
        5. YARN-3018-5.patch
          2 kB
          nijel

        Activity

          People

            nijel nijel
            nijel nijel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: