Skip to main content
skasireddy
Silver ⭐️⭐️
June 6, 2023
Question

How to set a yarn jobpriority in oozie?

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

jAnshula
Gold ⭐️
Gold ⭐️
February 15, 2024

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

oozie.launcher.mapred.job.priority=VERY_HIGH

Let us know if this helps.

Translate
jAnshula
Gold ⭐️
Gold ⭐️
February 27, 2024

@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.

 
Translate