hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Kamath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-1534) Code discovering UDFs in the script has a bug in a order by case
Date Wed, 04 Aug 2010 19:13:18 GMT

     [ https://issues.apache.org/jira/browse/PIG-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Pradeep Kamath updated PIG-1534:

      Status: Patch Available  (was: Open)
    Assignee: Pradeep Kamath

> Code discovering UDFs in the script has a bug in a order by case
> ----------------------------------------------------------------
>                 Key: PIG-1534
>                 URL: https://issues.apache.org/jira/browse/PIG-1534
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>            Reporter: Pradeep Kamath
>            Assignee: Pradeep Kamath
>             Fix For: 0.8.0
>         Attachments: PIG-1534.patch
> Consider the following commandline:
> {noformat}
> java -cp /tmp/svncheckout/pig.jar:udf.jar:clusterdir org.apache.pig.Main -e "a = load
'studenttab' using udf.MyPigStorage(); b = order a by $0; dump b;"
> {noformat}
> Notice there is no "register udf.jar", instead udf.jar (which contains udf.MyPigStorage)
is in the classpath. Pig handles this case by shipping udf.jar to the backend. However the
above script with order by triggers the bug with the following error message:
>  ERROR 2997: Unable to recreate exception from backed error: java.lang.RuntimeException:
could not instantiate 'org.apache.pig.impl.builtin.RandomSampleLoader' with arguments '[udf.MyPigStorage,

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

View raw message