Not able to set mapred.job.queue.name in Oozie java action Not able to set mapred.job.queue.name in Oozie java action hadoop hadoop

Not able to set mapred.job.queue.name in Oozie java action


When an Oozie action starts, it creates a launcher application in YARN which then kicks off the job itself. The launcher can run in a different queue to the action itself, and the queue in which the launcher runs is actually set with oozie.launcher.mapred.job.queue.name. I suspect that what's happening is that your launcher is trying to run in default, and so the Crunch job itself never actually kicks off.

Setting this should solve your problem:

<property>       <name>oozie.launcher.mapred.job.queue.name</name>       <value>launcher</value></property>

As an aside, mapred.job.queue.name has been deprecated - use mapreduce.job.queuename.