You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alex Bain (JIRA)" <ji...@apache.org> on 2014/02/10 20:43:19 UTC

[jira] [Commented] (PIG-3756) Add support for non-Java UDF's

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

Alex Bain commented on PIG-3756:
--------------------------------

These are the comments from my ReviewBoard: https://reviews.apache.org/r/17914/

Jython -> Works

JRuby -> Works

JavaScript -> Works

Streaming UDF -> Broken due to https://issues.apache.org/jira/browse/PIG-3478. This needs to be fixed before we can make it work in Tez.

Groovy -> Works in Tez when additional changes are made to build.xml and bin/pig (NOT included in my patch, let me know if you want me to add). I think Groovy is broken in MR Pig at the moment and that no one can use it. To make it work in Tez, I have a hack in TezPlanContainer.java that specifically looks for Groovy files. Let me know if you think we should keep this line or perhaps remove it.

Just to note, one way to fix MR Pig would be to add the Groovy files to DistributedCache.

> Add support for non-Java UDF's
> ------------------------------
>
>                 Key: PIG-3756
>                 URL: https://issues.apache.org/jira/browse/PIG-3756
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Alex Bain
>            Assignee: Alex Bain
>             Fix For: tez-branch
>
>         Attachments: PIG-3756.patch
>
>
> Add support for non-Java UDF's in Pig-on-Tez: Jython, JRuby, JavaScript, Groovy and Streaming UDF's (cpython).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)