hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun C Murthy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-230) auto ship broken is presence of define for another streaming operator.
Date Tue, 06 May 2008 03:11:55 GMT

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

Arun C Murthy updated PIG-230:
------------------------------

    Attachment: PIG-230_0_20080505.patch

Fixed POMapreduce to handle multiple ship/cache specs; updated TestStreaming to add this as
a test-case ...

> auto ship broken is presence of define for another streaming operator.
> ----------------------------------------------------------------------
>
>                 Key: PIG-230
>                 URL: https://issues.apache.org/jira/browse/PIG-230
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>            Assignee: Arun C Murthy
>         Attachments: PIG-230_0_20080505.patch
>
>
> The following works:
> A = load 'studenttab10k';
> B = foreach A generate $0, $1, $2;
> C = stream B through `perl PigStreaming.pl`;
> store C into 'out';
> But this one causes an error: Can't open perl script "PigStreaming.pl": No such file
or directory.
> define CMD `perl PigStreamingDep.pl` input(stdin using PigDump) ship(':SCRIPTHOMEPATH:/PigStreamingDep.pl',
':SCRIPTHOMEPATH:/PigStreamingModule.pm');
> A = load 'studenttab10k';
> B = stream A through `perl PigStreaming.pl`;
> C = stream B through CMD as (name, age, gpa);
> D = foreach C generate name, age;
> store D into 'out';#,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message