You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2009/12/17 03:05:18 UTC
[jira] Created: (PIG-1160) local mode does print (aggregated)
warnings from udf
local mode does print (aggregated) warnings from udf
----------------------------------------------------
Key: PIG-1160
URL: https://issues.apache.org/jira/browse/PIG-1160
Project: Pig
Issue Type: Bug
Reporter: Thejas M Nair
Example query -
grunt> register contrib//piggybank/java/piggybank.jar
grunt> define BinCond org.apache.pig.piggybank.evaluation.decode.BinCond();
grunt> l = load 'students.txt' as (a,b,c :int);
grunt> f = foreach l generate BinCond(1, c, -c);
grunt> dump f;
In map-reduce mode, the following warning is seen -
WARN mapReduceLayer.MapReduceLauncher: Encountered Warning UDF_WARNING_1 6 time(s).
But no such warning message is seen in local mode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1160) local mode does not print (aggregated)
warnings from udf
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805722#action_12805722 ]
Olga Natkovich commented on PIG-1160:
-------------------------------------
This is dependent on MR providing counters in local mode which is not likely to happen in 0.7.0 timeframe
> local mode does not print (aggregated) warnings from udf
> --------------------------------------------------------
>
> Key: PIG-1160
> URL: https://issues.apache.org/jira/browse/PIG-1160
> Project: Pig
> Issue Type: Bug
> Reporter: Thejas M Nair
>
> Example query -
> grunt> register contrib//piggybank/java/piggybank.jar
> grunt> define BinCond org.apache.pig.piggybank.evaluation.decode.BinCond();
> grunt> l = load 'students.txt' as (a,b,c :int);
> grunt> f = foreach l generate BinCond(1, c, -c);
> grunt> dump f;
> In map-reduce mode, the following warning is seen -
> WARN mapReduceLayer.MapReduceLauncher: Encountered Warning UDF_WARNING_1 6 time(s).
> But no such warning message is seen in local mode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1160) local mode does not print (aggregated)
warnings from udf
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-1160:
--------------------------------
Fix Version/s: (was: 0.7.0)
> local mode does not print (aggregated) warnings from udf
> --------------------------------------------------------
>
> Key: PIG-1160
> URL: https://issues.apache.org/jira/browse/PIG-1160
> Project: Pig
> Issue Type: Bug
> Reporter: Thejas M Nair
>
> Example query -
> grunt> register contrib//piggybank/java/piggybank.jar
> grunt> define BinCond org.apache.pig.piggybank.evaluation.decode.BinCond();
> grunt> l = load 'students.txt' as (a,b,c :int);
> grunt> f = foreach l generate BinCond(1, c, -c);
> grunt> dump f;
> In map-reduce mode, the following warning is seen -
> WARN mapReduceLayer.MapReduceLauncher: Encountered Warning UDF_WARNING_1 6 time(s).
> But no such warning message is seen in local mode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIG-1160) local mode does not print (aggregated)
warnings from udf
Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated PIG-1160:
-------------------------------
Fix Version/s: 0.7.0
Summary: local mode does not print (aggregated) warnings from udf (was: local mode does print (aggregated) warnings from udf)
> local mode does not print (aggregated) warnings from udf
> --------------------------------------------------------
>
> Key: PIG-1160
> URL: https://issues.apache.org/jira/browse/PIG-1160
> Project: Pig
> Issue Type: Bug
> Reporter: Thejas M Nair
> Fix For: 0.7.0
>
>
> Example query -
> grunt> register contrib//piggybank/java/piggybank.jar
> grunt> define BinCond org.apache.pig.piggybank.evaluation.decode.BinCond();
> grunt> l = load 'students.txt' as (a,b,c :int);
> grunt> f = foreach l generate BinCond(1, c, -c);
> grunt> dump f;
> In map-reduce mode, the following warning is seen -
> WARN mapReduceLayer.MapReduceLauncher: Encountered Warning UDF_WARNING_1 6 time(s).
> But no such warning message is seen in local mode.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.