[ 
https://issues.apache.org/jira/browse/PIG-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145330#comment-13145330
 ] 

Mark Butler commented on PIG-2055:
----------------------------------

I am seeing this issue as well. I have tried building Pig 0.9.0 and Pig 0.9.1 
on RHEL 5 and I see nearly 367 test failures as a result, for example

org.apache.pig.parser.TestErrorHandling.tesNegative5

Error Message

<line 1, column 29>  mismatched input '(' expecting SEMI_COLON
Stacktrace

Failed to parse: <line 1, column 29>  mismatched input '(' expecting SEMI_COLON
        at 
org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:222)
        at 
org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:164)
        at org.apache.pig.PigServer$Graph.validateQuery(PigServer.java:1609)
        at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1582)
        at org.apache.pig.PigServer.registerQuery(PigServer.java:584)
        at org.apache.pig.PigServer.registerQuery(PigServer.java:597)
        at 
org.apache.pig.parser.TestErrorHandling.tesNegative5(TestErrorHandling.java:105)

People have also reported it on the user list - see 

http://www.mail-archive.com/user@pig.apache.org/msg02288.html
http://www.mail-archive.com/user@pig.apache.org/msg02185.html

I do not understand why I am seeing so many failures yet others have had 
problems reproducing the issue?

This issue is marked as resolved, but it affects 0.9.0 and the patch is only 
for trunk? 

I am currently in the process of testing trunk to see if it has the same 
problem. If trunk is ok, it would make sense to backport the patch to 0.9.0 / 
0.9.1.
                
> inconsistent behavior in parser generated during build 
> -------------------------------------------------------
>
>                 Key: PIG-2055
>                 URL: https://issues.apache.org/jira/browse/PIG-2055
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: PIG-2055.1.patch, PIG-2055.2.patch
>
>
> On certain builds, i see that pig fails to support this syntax -
> {code}
> grunt> l = load 'x' using PigStorage(':');           
> 2011-05-10 09:21:41,565 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
> 1200: <line 1, column 29>  mismatched input '(' expecting SEMI_COLON
> Details at logfile: /Users/tejas/pig_trunk_cp/trunk/pig_1305044484712.log
> {code}
> I seem to be the only one who has seen this behavior, and I have seen on 
> occassion when I build on mac. It could be problem with antlr and apple jvm 
> interaction. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to