You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Richard Ding (JIRA)" <ji...@apache.org> on 2011/02/11 19:52:57 UTC

[jira] Created: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Commented: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Commented: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Commented: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Updated: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Resolved: (PIG-1852) Packaging antlr jar with pig.jar

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

        

[jira] Commented: (PIG-1852) Packaging antlr jar with pig.jar

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