[
https://issues.apache.org/jira/browse/PIG-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xu Zhang updated PIG-189:
-------------------------
Description:
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}
was:
I got 3 logs with the following Pig script 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}
> 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
>
> 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.