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

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

Some comments:
1. What does line 440: "final String jName = tempJarName.replaceAll("\\*", 
".*");" mean?
2. If "register /homes/aaa/*.jar", the patch will also register all jars in 
classpath, which is wrong. We shall still use ClassLoader.getSystemResources.
3. Use Apache format: no tab, always space

> 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: niraj rai
>             Fix For: 0.9.0
>
>         Attachments: PIG_1566_0.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.

-- 
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