[
https://issues.apache.org/jira/browse/OOZIE-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mona Chitnis updated OOZIE-1324:
--------------------------------
Description:
The twiki doc should contains these:
In newer oozie, we have a alternate and flexible way of sending the pig
arguments in "argument" tag in the XML. In the argument tag , user can specify
any option they want to pass.
For example, if the pig command is: pig -a -param K1=V1 -F
In workflow.xml, user can specify,
<argument>-a</argument>
<argument>-param</argument>
<argument>K1=V1</argument>
<argument>-F</argument>.
However, there are two special cases:
1. How to pass a file through this arguments?
2. How to pass -D?
Use configuration section of workflow.
For example, if we have -Dmapred.job.queue.name=unfunded
<property>
<name>mapred.job.queue.name</name>
<value>unfunded</value>
</property>
> Documentation: How to pass pig arguments through oozie
> -------------------------------------------------------
>
> Key: OOZIE-1324
> URL: https://issues.apache.org/jira/browse/OOZIE-1324
> Project: Oozie
> Issue Type: Bug
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Priority: Trivial
>
> The twiki doc should contains these:
> In newer oozie, we have a alternate and flexible way of sending the pig
> arguments in "argument" tag in the XML. In the argument tag , user can specify
> any option they want to pass.
> For example, if the pig command is: pig -a -param K1=V1 -F
> In workflow.xml, user can specify,
> <argument>-a</argument>
> <argument>-param</argument>
> <argument>K1=V1</argument>
> <argument>-F</argument>.
> However, there are two special cases:
> 1. How to pass a file through this arguments?
> 2. How to pass -D?
> Use configuration section of workflow.
> For example, if we have -Dmapred.job.queue.name=unfunded
> <property>
> <name>mapred.job.queue.name</name>
> <value>unfunded</value>
> </property>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira