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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha2
    • None
    • None
    • 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.001.patch
          47 kB
          Daniel Templeton
        2. YARN-5575.002.patch
          46 kB
          Daniel Templeton
        3. YARN-5575.003.patch
          48 kB
          Daniel Templeton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: