hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-525) UDF that requires a cast for its input arguments causes an exception
Date Thu, 13 Nov 2008 01:35:44 GMT

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

Olga Natkovich updated PIG-525:
-------------------------------

    Attachment: PIG-525.patch

> UDF that requires a cast for its input arguments causes an exception
> --------------------------------------------------------------------
>
>                 Key: PIG-525
>                 URL: https://issues.apache.org/jira/browse/PIG-525
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>            Assignee: Olga Natkovich
>         Attachments: PIG-525.patch
>
>
> Script:
> register /homes/olgan/piggybank.jar                                           
> A = load 'studenttab10k' as (name, age, gpa); 
> B = filter A by name is not null;                                             
> C = foreach A generate org.apache.pig.piggybank.evaluation.string.UPPER(name);
> D = limit C 10;                                                               
> dump D; 
> Stack:
>  (reduce) task_200809241441_20466_r_000000java.io.IOException: Received a bytearray from
the UDF. Cannot determine how to convert the bytearray to string.
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.processOnePackageOutput(PigMapReduce.java:266)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:224)
>         at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapReduce$Reduce.reduce(PigMapReduce.java:136)
>         at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:318)
>         at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2207)

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