[ https://issues.apache.org/jira/browse/PIG-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627235#comment-13627235 ]
Daniel Dai commented on PIG-3226: --------------------------------- What do you mean "normal file"? I still didn't get why copy a file to a tmp location works, can you explain? > Groovy UDF support may fail to load script under some circumstances > ------------------------------------------------------------------- > > Key: PIG-3226 > URL: https://issues.apache.org/jira/browse/PIG-3226 > Project: Pig > Issue Type: Bug > Affects Versions: 0.11, 0.11.1 > Reporter: Mathias Herberts > Assignee: Mathias Herberts > Attachments: PIG-3226.patch, PIG-3226.patch-2 > > > When running in M/R mode, scripts may fail to load, this is due to the > GroovyScriptEngine looking for the script under the attempt's current working > dir which does not contain the script. > The attached patch fixes that by copying the script to a place where > GroovyScriptEngine will be able to find it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira