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

Antonio Magnaghi updated PIG-11:
--------------------------------

    Attachment: Pig-BUG-11-Tests
                Pig-BUG-11.patch

Made the fix more general as Ben suggested.

- extraJars is now a list of URLs, not Strings anymore
- the Jar Manager, in mergeJar, loads a resource either from a string or a URL
- PigServer, in registerJar, locates the URL for the desired resource.

Attaching here:
    the code (changes in src and the new test file); 
    the result of running the whole test suite.

-a.

> Pig command - add search path for UDF .jar files
> ------------------------------------------------
>
>                 Key: PIG-11
>                 URL: https://issues.apache.org/jira/browse/PIG-11
>             Project: Pig
>          Issue Type: Improvement
>          Components: impl
>            Reporter: Olga Natkovich
>            Assignee: Antonio Magnaghi
>            Priority: Minor
>         Attachments: Pig-BUG-11-Tests, Pig-BUG-11.patch
>
>
> Add a mechanism so that invocations of:
>       register my.jar;
> will search not only the local directory but a set of paths.  This could
> simply be classpath.
> This will permit users to have build trees of UDFs that commonly share
> across different piglets
> without having to copy the jar locally to each directory and without
> having to use absolute
> pathnames to refer to the files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to