[
https://issues.apache.org/jira/browse/PIG-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996940#comment-13996940
]
Aniket Mokashi commented on PIG-3739:
-------------------------------------
New counters
|| Group || Name || Map || Reduce || Total ||
|org.apache.pig.PigWarning|SKIP_UDF_CALL_FOR_NULL | 3| 0| 3|
|org.apache.pig.test.udf.evalfunc.TestWarningFunc | UDF_WARNING_3|
10980 | 0 | 10980|
|org.apache.pig.test.udf.evalfunc.TestWarningFunc | UDF_WARNING_4 | 19|
0 | 19|
Old counters (with pig11)
|| Group || Name || Map || Reduce || Total ||
|org.apache.pig.PigWarning |UDF_WARNING_3 | 10989| 0| 10989|
|org.apache.pig.PigWarning |UDF_WARNING_4 |22 |0| 22|
PIG-2207 caused the grouping to be changed. What's causing counter numbers to
be changed? [~cheolsoo], [~daijy] comments?
> The Warning_4 e2e test is broken in trunk
> -----------------------------------------
>
> Key: PIG-3739
> URL: https://issues.apache.org/jira/browse/PIG-3739
> Project: Pig
> Issue Type: Bug
> Reporter: Cheolsoo Park
> Assignee: Aniket Mokashi
> Fix For: 0.13.0
>
>
> This is a regression of PIG-2207.
> The Warning_4 e2e test fails because expected warning messages are not
> printed to stderr. I confirmed that the following lines are present w/o
> PIG-2207, whereas they are not w/ PIG-2207.
> {code}
> 2014-02-02 04:48:11,211 [main] WARN
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> - Encountered Warning UDF_WARNING_3 10989 time(s).
> 2014-02-02 04:48:11,211 [main] WARN
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
> - Encountered Warning UDF_WARNING_4 22 time(s).
> {code}
> Here is the test query-
> {code}
> register ./lib/java/testudf.jar;
> a = load '/user/pig/tests/data/singlefile/studentnulltab10k' as (name, age:
> int, gpa: float);
> b = foreach a generate org.apache.pig.test.udf.evalfunc.TestWarningFunc(name,
> age, gpa);
> store b into
> '/user/pig/out/cheolsoop-1391202001-cmdline.conf-Warning/Warning_4.out';
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)