Grokbase Groups Pig dev February 2010
FAQ
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.

Search Discussions

  • Thejas M Nair (JIRA) at Feb 11, 2010 at 6:05 pm
    [ 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.
  • Thejas M Nair (JIRA) at Feb 12, 2010 at 4:03 am
    [ 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.
  • Thejas M Nair (JIRA) at Feb 12, 2010 at 4:03 am
    [ 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.
  • Hadoop QA (JIRA) at Feb 12, 2010 at 8:33 am
    [ 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.
  • Olga Natkovich (JIRA) at Feb 16, 2010 at 9:43 pm
    [ 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.
  • Olga Natkovich (JIRA) at Feb 17, 2010 at 7:22 pm
    [ 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.
  • Daniel Dai (JIRA) at May 14, 2010 at 6:48 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedFeb 5, '10 at 10:10p
activeMay 14, '10 at 6:48a
posts8
users1
websitepig.apache.org

1 user in discussion

Daniel Dai (JIRA): 8 posts

People

Translate

site design / logo © 2022 Grokbase