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

[jira] [Commented] (PIG-3769) Scripting UDF is broken after PIG-3629

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

Cheolsoo Park commented on PIG-3769:
------------------------------------

+1. This certainly fixes my problem.

> Scripting UDF is broken after PIG-3629
> --------------------------------------
>
>                 Key: PIG-3769
>                 URL: https://issues.apache.org/jira/browse/PIG-3769
>             Project: Pig
>          Issue Type: Sub-task
>          Components: tez
>    Affects Versions: tez-branch
>            Reporter: Cheolsoo Park
>            Assignee: Rohini Palaniswamy
>             Fix For: tez-branch
>
>         Attachments: PIG-3769-0.patch
>
>
> This is a regression from "PIG-3629\-reopen\-1.patch". I see tasks failing with the following error-
> {code}
> Caused by: java.lang.IllegalStateException: Could not initialize interpreter (from file system or classpath) with /tmp/pig7551540624891944125tmp/nflx_common_datetime.py
> 	at org.apache.pig.scripting.ScriptEngine.getScriptAsStream(ScriptEngine.java:163)
> 	at org.apache.pig.scripting.jython.JythonScriptEngine$Interpreter.init(JythonScriptEngine.java:158)
> 	at org.apache.pig.scripting.jython.JythonScriptEngine.getFunction(JythonScriptEngine.java:388)
> 	at org.apache.pig.scripting.jython.JythonFunction.<init>(JythonFunction.java:55)
> 	... 72 more
> {code}
> Looks like the local path of a shipped script file on the slave nodes is not correct.



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