Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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.