You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2010/02/05 23:10:28 UTC

[jira] Created: (PIG-1226) Need to be able to register jars on the command line

Need to be able to register jars on the command line
----------------------------------------------------

                 Key: PIG-1226
                 URL: https://issues.apache.org/jira/browse/PIG-1226
             Project: Pig
          Issue Type: Bug
            Reporter: Alan Gates


Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:

pig -Dpig.additional.jars=my.jar:your.jar script.pig

These would not override registers in the Pig Latin script itself.


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


[jira] Updated: (PIG-1226) Need to be able to register jars on the command line

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

Thejas M Nair updated PIG-1226:
-------------------------------

    Status: Patch Available  (was: Open)

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Updated: (PIG-1226) Need to be able to register jars on the command line

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

Thejas M Nair updated PIG-1226:
-------------------------------

    Fix Version/s: 0.7.0
         Assignee: Thejas M Nair

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Updated: (PIG-1226) Need to be able to register jars on the command line

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

Thejas M Nair updated PIG-1226:
-------------------------------

    Attachment: PIG-1126.patch

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Commented: (PIG-1226) Need to be able to register jars on the command line

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832888#action_12832888 ] 

Hadoop QA commented on PIG-1226:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12435658/PIG-1126.patch
  against trunk revision 909210.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/210/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/210/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: http://hudson.zones.apache.org/hudson/job/Pig-Patch-h8.grid.sp2.yahoo.net/210/console

This message is automatically generated.

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Closed: (PIG-1226) Need to be able to register jars on the command line

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

Daniel Dai closed PIG-1226.
---------------------------


> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Commented: (PIG-1226) Need to be able to register jars on the command line

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

Olga Natkovich commented on PIG-1226:
-------------------------------------

+1, changes look good.

Thejas, can you make sure that the patch applies to LSR branch since we are getting ready to merge it back to the trunk.

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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


[jira] Updated: (PIG-1226) Need to be able to register jars on the command line

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

Olga Natkovich updated PIG-1226:
--------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

patch committed to trunk. Thanks, Thejas

> Need to be able to register jars on the command line
> ----------------------------------------------------
>
>                 Key: PIG-1226
>                 URL: https://issues.apache.org/jira/browse/PIG-1226
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Alan Gates
>            Assignee: Thejas M Nair
>             Fix For: 0.7.0
>
>         Attachments: PIG-1126.patch
>
>
> Currently 'register' can only be done inside a Pig Latin script.  Users often run their scripts in different environments, so jar locations or versions may change.  But they don't want to edit their script to fit each environment.  Instead they could register on the command line, something like:
> pig -Dpig.additional.jars=my.jar:your.jar script.pig
> These would not override registers in the Pig Latin script itself.

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