You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ravi Phulari (JIRA)" <ji...@apache.org> on 2010/08/25 19:38:16 UTC

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

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
             Fix For: 0.8.0


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.


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

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich reassigned PIG-1566:
-----------------------------------

    Assignee: niraj rai

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


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

Posted by "niraj rai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

niraj rai updated PIG-1566:
---------------------------

    Attachment: PIG_1566_1.patch

Modified based on daniel comment.

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

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


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

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925093#action_12925093 ] 

Olga Natkovich commented on PIG-1566:
-------------------------------------

please, remember to add release notes to the ticket so that the information can be included in 0.9 documentation

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


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

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1566:
--------------------------------

    Fix Version/s: 0.9.0
                       (was: 0.8.0)

It is too late to do this for 0.8 since we are about to branch. We can consider this for 0.9 especially if we have volunteers for this work

> 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
>             Fix For: 0.9.0
>
>
> 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.


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

Posted by "niraj rai (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

niraj rai updated PIG-1566:
---------------------------

    Attachment: PIG_1566_0.patch

Patch to support globbing.

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