Daniel Templeton created MAPREDUCE-6575:
-------------------------------------------

             Summary: TestMRJobs.setup() should use YarnConfiguration 
properties instead of bare strings
                 Key: MAPREDUCE-6575
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6575
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Daniel Templeton
            Assignee: Daniel Templeton


YARN-5870 introduced the following line:

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

It should instead be:

{code}
      conf.setInt(YarnConfiguration.MAX_CLUSTER_LEVEL_APPLICATION_PRIORITY, 10);
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to