You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2013/04/09 21:08:17 UTC
[jira] [Commented] (PIG-3226) Groovy UDF support may fail to load
script under some circumstances
[ https://issues.apache.org/jira/browse/PIG-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13626962#comment-13626962 ]
Daniel Dai commented on PIG-3226:
---------------------------------
Do you mean if you give absolute path, it fails? Also can you use FileUtils to do the copy? commons-io should be available in both frontend and backend.
> 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
>
>
> 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