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 2010/01/27 20:31:34 UTC

[jira] Updated: (PIG-1160) local mode does not print (aggregated) warnings from udf

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