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 2012/06/26 22:36:44 UTC

[jira] [Resolved] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

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

Daniel Dai resolved PIG-2760.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.10.1
                   0.11
         Assignee: Rohini Palaniswamy
     Hadoop Flags: Reviewed

This is fixed along with PIG-2761. Thanks folks!
                
> resources added with a relative path are added to the JobXXXX jar file under their absolute path
> ------------------------------------------------------------------------------------------------
>
>                 Key: PIG-2760
>                 URL: https://issues.apache.org/jira/browse/PIG-2760
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.10.0
>            Reporter: Mathias Herberts
>            Assignee: Rohini Palaniswamy
>             Fix For: 0.11, 0.10.1
>
>         Attachments: PIG-2760.patch
>
>
> When registering a local resource using a relative path, the resource is added to the JobXXXX jar under its absolute path.
> If a pig script contains the following:
> REGISTER etc/foo;
> and is executed from a directory /PATH/TO/DIR, the JobXXXX jar file will contain the following:
> /PATH/TO/DIR/etc/foo
> instead of
> etc/foo
> which was the previous behavior

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira