[
https://issues.apache.org/jira/browse/TEZ-2627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637026#comment-14637026
]
Saikat edited comment on TEZ-2627 at 7/22/15 3:14 PM:
------------------------------------------------------
[~hitesh]
According to the patch YARN-2003,
1.there is a new configuration "yarn.cluster.max-application-priority"(default
value is 0) and a default application priority per queue(e.g
"yarn.scheduler.capacity.<queuename>.default-application-priority" which also
has a default value 0).
If the submitted app, doesnot set the priority field, then the default priority
of the queue is taken as the app priority.
If the submitted app has a set priority, it is compared against the max cluster
level app priority and capped if needed.
2. setPriority() is available for versions 2.2.0
The author of YARN-2003 [~sunilg] has confirmed about this behaviour.
was (Author: saikatr):
[~hitesh]
According to the patch YARN-2003,
1.there is a new configuration "yarn.cluster.max-application-priority"(default
value is 0) and a default application priority per queue(e.g
"yarn.scheduler.capacity.<queuename>.default-application-priority" which also
has a default value 0).
If the submitted app, doesnot set the priority field, then the default priority
of the queue is taken as the app priority.
If the submitted app has a set priority, it is compared against the max cluster
level app priority and capped if needed.
I will get a confirmation form the author of the patch.
Will also check if setPriority() api is available in versions > 2.2.0
> Support for Tez Job Priorities
> ------------------------------
>
> Key: TEZ-2627
> URL: https://issues.apache.org/jira/browse/TEZ-2627
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Saikat
> Assignee: Saikat
>
> When a Tez Job is submitted via TezClient, an ApplicationSubmissionContext is
> created before submitting the job. ApplicationSubmissionContext has a
> priority field which can be used to provide a priority for the job.
> There is an ongoing effort in the Yarn Community to enable application
> priorities(https://issues.apache.org/jira/browse/YARN-1963).
> https://issues.apache.org/jira/browse/YARN-2003 implements the necessary
> changes in RM and Capacity Scheduler.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)