A. Oozie specifics Oozie propagates the "regular" Hadoop properties to a "regular" MapReduce Action.
But for other types of Action (Shell, Hive, Java, etc.) where Oozie runs a single Mapper task in YARN, it does not consider that it's a real MapReduce job. Hence it uses a different set of undocumented properties always prefixed with oozie.launcher.
Look into that post for example.
So in your case the actual property to set would be oozie.launcher.mapred.job.queue.name
B. TEZ specifics Excerpt from HortonWorks documentation:
For example, in Hive you can use the tez.queue.name
property in
hive-site.xml to specify the queue to use for Hive-on-Tez jobs. To
assign Hive-on-Tez jobs to use the "engineering" queue, add the
following property to hive-site.xml:
<property> <name>tez.queue.name</name> <value>engineering</value> </property>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…