hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Ding (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1599) pig gives generic message for few cases
Date Fri, 03 Sep 2010 22:46:33 GMT

    [ https://issues.apache.org/jira/browse/PIG-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906153#action_12906153
] 

Richard Ding commented on PIG-1599:
-----------------------------------

I manually run related tests and they all passed. I'm going to check in the patch to the trunk
and 0.8 branch.

> pig gives generic message for few cases
> ---------------------------------------
>
>                 Key: PIG-1599
>                 URL: https://issues.apache.org/jira/browse/PIG-1599
>             Project: Pig
>          Issue Type: Bug
>            Reporter: niraj rai
>            Assignee: niraj rai
>         Attachments: pig-1599_0.patch, pig-1599_1.patch
>
>
> When we run the script:
> register testudf.jar;
> a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> b = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
> c = cogroup a by name, b by name;
> d = foreach c generate flatten(org.apache.pig.test.udf.evalfunc.BadUdf(a,b));
> dump d;
> we get the error:
> now we get "ERROR 2088: Unable to get results for: 
> hdfs://wilbur20.labs.corp.sp1.yahoo.com:9020/tmp/temp1787360727/tmp509618997:org.apache.pig.impl.io.InterStorage".
> The udf is bad udf and it should throw:
> ERROR 2078: Caught error from UDF: org.apache.pig.test.udf.evalfunc.BadUdf, Out of bounds
access [Index: 2, Size: 2]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message