When using the Oozie Proxy job submission API for submitting the Oozie Hive
, Pig
, and Sqoop
actions. To pass any configuration to the action, is required to be in below format.
For Hive action:
<property>
<name>oozie.hive.options.1</name>
<value>-Doozie.launcher.mapreduce.job.queuename=hive</value>
</property>
<property>
<name>oozie.hive.options.0</name>
<value>-Dmapreduce.job.queuename=hive</value>
</property>
<property>
<name>oozie.hive.options.size</name>
<value>2</value>
</property>
For Pig Action:
<property>
<name>oozie.pig.options.1</name>
<value>-Doozie.launcher.mapreduce.job.queuename=pig</value>
</property>
<property>
<name>oozie.pig.options.0</name>
<value>-Dmapreduce.job.queuename=pig</value>
</property>
<property>
<name>oozie.pig.options.size</name>
<value>2</value>
</property>
For Sqoop Action:
<property>
<name>oozie.sqoop.options.1</name>
<value>-Doozie.launcher.mapreduce.job.queuename=sqoop</value>
</property>
<property>
<name>oozie.sqoop.options.0</name>
<value>-Dmapreduce.job.queuename=sqoop</value>
</property>
<property>
<name>oozie.sqoop.options.size</name>
<value>2</value>
</property>