You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2015/02/17 04:05:11 UTC

[jira] [Resolved] (OOZIE-1324) Documentation: How to pass pig arguments through oozie

     [ https://issues.apache.org/jira/browse/OOZIE-1324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rohini Palaniswamy resolved OOZIE-1324.
---------------------------------------
    Resolution: Fixed

Documented in https://cwiki.apache.org/confluence/display/OOZIE/Pig+Cookbook

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)