[ 
https://issues.apache.org/jira/browse/PIG-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mathias Herberts updated PIG-3226:
----------------------------------

    Description: 
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.

  was:When running in M/R mode, scripts may fail to load.

     Patch Info: Patch Available
    
> 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
>            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

Reply via email to