[ 
https://issues.apache.org/jira/browse/MAPREDUCE-6575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Templeton updated MAPREDUCE-6575:
----------------------------------------
    Description: 
MAPREDUCE-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}

  was:
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}


> 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
>
> MAPREDUCE-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