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

Many classes use bare yarn. properties instead of the defined constants

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      MAPREDUCE-5870 introduced the following line:

            conf.setInt("yarn.cluster.max-application-priority", 10);
      

      It should instead be:

            conf.setInt(YarnConfiguration.MAX_CLUSTER_LEVEL_APPLICATION_PRIORITY, 10);
      

        Attachments

        1. YARN-5575.003.patch
          48 kB
          Daniel Templeton
        2. YARN-5575.002.patch
          46 kB
          Daniel Templeton
        3. YARN-5575.001.patch
          47 kB
          Daniel Templeton

          Activity

            People

            • Assignee:
              templedf Daniel Templeton
              Reporter:
              templedf Daniel Templeton
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: