Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3769

Scripting UDF is broken after PIG-3629

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • tez-branch
    • tez-branch
    • tez
    • None
    • Reviewed

    Description

      This is a regression from "PIG-3629-reopen-1.patch". I see tasks failing with the following error-

      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
      

      Looks like the local path of a shipped script file on the slave nodes is not correct.

      Attachments

        1. PIG-3769-0.patch
          0.9 kB
          Daniel Dai

        Issue Links

          Activity

            People

              daijy Daniel Dai
              cheolsoo Cheolsoo Park
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: