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 2011/03/14 18:58:29 UTC

[jira] Commented: (PIG-1566) Support globbing for registering jars in pig script.

    [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006534#comment-13006534 ] 

Daniel Dai commented on PIG-1566:
---------------------------------

Attach a new patch PIG-1566-2.patch. 

> Support globbing for registering jars in pig script.
> ----------------------------------------------------
>
>                 Key: PIG-1566
>                 URL: https://issues.apache.org/jira/browse/PIG-1566
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Ravi Phulari
>            Assignee: Daniel Dai
>             Fix For: 0.9.0
>
>         Attachments: PIG-1566-2.patch, PIG_1566_0.patch, PIG_1566_1.patch
>
>
> Currently user can not register pig jars with globing.
> For example following register script will fail.
> {quote}
> register /etc/jars/*.jar  
> {quote}
> It will be great if we can support such globing for registering jars.
> Release notes:
> We allow globbing in register statement. User can use "*" to denote a globbing, eg:
> register key*.jar
> register /home/jarpath/key*.jar
> register jars/key*.jar
> The path can be absolute path or relative path start with working directory. 
> Note globbing does not further search in classpath as non-globbing case does, eg: 
> "register key1234.jar" works if key1234.jar in classpath, but not in working directory, however,
> "register key*.jar" will not locate key1234.jar in this case.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira