Support Questions

Find answers, ask questions, and share your expertise

How to set a yarn jobpriority in oozie?

avatar
Explorer

Hi,
Our yarn spark jobs trigger with oozie workflow. there are situations where we need to set a high priority for some of the jobs. I noticed there is a property mapreduce.job.priority to set a priority. how to set a job priority in oozie workflow so that yarn schedules our job with high priority over default from other jobs?

2 REPLIES 2

avatar
Expert Contributor

Hi @skasireddy , you may use below property in the workflow.xml

oozie.launcher.mapred.job.priority=VERY_HIGH

Let us know if this helps.

avatar
Expert Contributor

@skasireddy Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.