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.

Reply via email to