Eric Payne created MAPREDUCE-6976:
-------------------------------------
Summary: mapred job -set-priority claims to set priority higher
than yarn.cluster.max-application-priority
Key: MAPREDUCE-6976
URL: https://issues.apache.org/jira/browse/MAPREDUCE-6976
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 2.8.1, 2.9.0, 3.1.0
Reporter: Eric Payne
Priority: Minor
With {{yarn.cluster.max-application-priority}} set to 20 and
{{job_1507226760578_0002}} running at priority 0, run the following command:
{noformat}
$ mapred job -set-priority job_1507226760578_0002 21
Changed job priority.
{noformat}
The above commands sets {{job_1507226760578_0002}} to priority 20. If
{{job_1507226760578_0002}} is already at 20, the command does nothing.
Compare this behavior to running the {{yarn application -updatePriority}}
command:
{code}
$ yarn application -updatePriority 21 -appId application_1507226760578_0002
Updating priority of an aplication application_1507226760578_0002
Updated priority of an application application_1507226760578_0002 to cluster
max priority OR keeping old priority as application is in final states
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]