[ 
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.

Reply via email to