Grokbase Groups Pig dev February 2011
FAQ
Packaging antlr jar with pig.jar
--------------------------------

Key: PIG-1852
URL: https://issues.apache.org/jira/browse/PIG-1852
Project: Pig
Issue Type: Improvement
Components: build
Reporter: Richard Ding
Assignee: Richard Ding
Fix For: 0.9.0


Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.

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

Search Discussions

  • Richard Ding (JIRA) at Feb 11, 2011 at 8:20 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Richard Ding updated PIG-1852:
    ------------------------------

    Attachment: PIG-1852.patch
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Ashutosh Chauhan (JIRA) at Feb 11, 2011 at 8:48 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993688#comment-12993688 ]

    Ashutosh Chauhan commented on PIG-1852:
    ---------------------------------------

    antlr shouldn't be pig-withouthadoop.jar since its a client side dependency. pig-withouthadoop.jar gets shipped to task nodes, we should not add anything in it which is not needed in backend.
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Ashutosh Chauhan (JIRA) at Feb 11, 2011 at 8:53 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993692#comment-12993692 ]

    Ashutosh Chauhan commented on PIG-1852:
    ---------------------------------------

    Also, antlr.jar is required only while compiling pig, antlr-runtime.jar should be used instead in pig.jar
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Richard Ding (JIRA) at Feb 11, 2011 at 10:19 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993728#comment-12993728 ]

    Richard Ding commented on PIG-1852:
    -----------------------------------

    Ashutosh, you're right. But the antlr-3.2.jar Pig uses now is actually antlr[all].jar. What Pig needs is to pull the various antlr jars from apache maven repository (PIG-1583).
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Daniel Dai (JIRA) at Feb 11, 2011 at 10:27 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993734#comment-12993734 ]

    Daniel Dai commented on PIG-1852:
    ---------------------------------

    Ideally we should pack antlr-runtime.jar only. However, it seems antlr-runtime.jar is not enough, we have problem in running pig if we only pack antlr-runtime.jar. For now, we can pack antlr.jar so Pig can run. Later we can figure out how to optimize antlr.jar.
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Richard Ding (JIRA) at Feb 11, 2011 at 11:48 pm
    [ https://issues.apache.org/jira/browse/PIG-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Richard Ding resolved PIG-1852.
    -------------------------------

    Resolution: Fixed
    Hadoop Flags: [Reviewed]

    patch committed to trunk
    Packaging antlr jar with pig.jar
    --------------------------------

    Key: PIG-1852
    URL: https://issues.apache.org/jira/browse/PIG-1852
    Project: Pig
    Issue Type: Bug
    Components: build
    Reporter: Richard Ding
    Assignee: Richard Ding
    Fix For: 0.9.0

    Attachments: PIG-1852.patch


    Pig 0.9 uses ANTLR as default parser. Pig needs to add antlr jar to pig.jar and pig-withouthadoop.jar.
    --
    This message is automatically generated by JIRA.
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedFeb 11, '11 at 6:53p
activeFeb 11, '11 at 11:48p
posts7
users1
websitepig.apache.org

1 user in discussion

Richard Ding (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase