You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xu Zhang (JIRA)" <ji...@apache.org> on 2008/04/08 04:09:25 UTC

[jira] Commented: (PIG-189) Similar Pig scripts got different number of the logs for dumping and storing

    [ https://issues.apache.org/jira/browse/PIG-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586629#action_12586629 ] 

Xu Zhang commented on PIG-189:
------------------------------

+1 as I saw it working with the latest Pig stuff.

> Similar Pig scripts got different number of the logs for dumping and storing 
> -----------------------------------------------------------------------------
>
>                 Key: PIG-189
>                 URL: https://issues.apache.org/jira/browse/PIG-189
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>
> I got 3 logs with the following Pig script (job_200804041056_0192 and job_200804041056_0193) that uses dump statement, whereas a similar Pig script that uses store statement got 6 logs (see PIG-188).  Both scripts are listed below:
> {code}
> define X `PigLoggingTest 10 t` ship('./cplusplus/PigLoggingTest') stderr('logging_test_10');
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = stream A through X;
> dump B;
> C = load '/user/xu/_logs/logging_test_10';
> store C into 'results_34';
> {code}
> {code}
> define X `PigLoggingTest 10 t` ship('./cplusplus/PigLoggingTest') stderr('logging_test_1');
> A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> B = stream A through X;
> store B into 'logging_test_1';
> C = load 'logging_test_1/_logs/logging_test_1';
> store C into 'results_26';
> {code}

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