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

Daniel Dai commented on PIG-3769:
---------------------------------

Patch committed to tez. We can work on cleanup in followup Jira.

Thanks Cheolsoo for review!

> 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: Daniel Dai
>             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)

Reply via email to