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]

Community Articles

Find and share helpful community-sourced technical articles.
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!
Labels (1)
avatar
New Member

When using the Oozie Proxy job submission API for submitting the Oozie Hive, Sqoop and Pig actions. To pass any configuration to the action is required to be in below format.

For Hive action:

  • oozie.hive.options.size : The number of options you'll be passing to Pig
  • oozie.hive.options.n : An argument to pass to Hive, the 'n' should be an integer starting with 0 to indicate the option number
<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:

  • oozie.pig.options.size : The number of options you'll be passing to Pig
  • oozie.pig.options.n : An argument to pass to Pig, the 'n' should be an integer starting with 0 to indicate the option number
<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:

  • oozie.sqoop.options.size : The number of options you'll be passing to Sqoop Hadoop job
  • oozie.sqoop.options.n : An argument to pass to Sqoop hadoop job conf, the 'n' should be an integer starting with zero(0) to indicate the option number
<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>
1,516 Views
Version history
Last update:
‎01-17-2017 05:58 AM
Updated by:
Contributors