hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1160) local mode does print (aggregated) warnings from udf
Date Thu, 17 Dec 2009 02:05:18 GMT
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.

View raw message