You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Dmitriy V. Ryaboy (JIRA)" <ji...@apache.org> on 2012/09/28 05:35:07 UTC

[jira] [Resolved] (PIG-1869) Job conf parameters not passed to Streaming

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

Dmitriy V. Ryaboy resolved PIG-1869.
------------------------------------

    Resolution: Duplicate

Fixed in PIG-2900

Not following what exactly you want to happen with input files, please file a separate ticket.
                
> Job conf parameters not passed to Streaming
> -------------------------------------------
>
>                 Key: PIG-1869
>                 URL: https://issues.apache.org/jira/browse/PIG-1869
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.8.0
>            Reporter: Ankur
>
> Pig Streaming does not set the job conf parameters as environment variables for the streaming binary. This is unlike Hadoop streaming where all the job conf parameters are available as environment variables.
> Here is a small test script along with the streaming binary
> === stream.pig ===
> A = LOAD 'dat' as (f1:chararray);
> DEFINE MY_BIN `./stream.sh` SHIP('./stream.sh');
> B = STREAM A THROUGH MY_BIN;
> dump B; 
> === stream.sh ===
> #!/bin/bash
> export

--
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