This looks like the intermittent Antlr bug we're seeing 
(https://issues.apache.org/jira/browse/PIG-2055).  We're testing other versions 
of Antlr to try to fix this, but until we find one that addresses the issue the 
only solution is to do ant clean, and then rebuild and see if it goes away.  We 
have also noticed it happens more often when built on Mac than on Linux, if you 
happen to have a Linux box you could build on.

Alan.

On Aug 10, 2011, at 11:24 PM, Dmitriy Ryaboy wrote:

> HBaseStorage is failing, and it's not something we did to HBaseStorage...
> Looks like the parser.
> 
> Any takers?
> 
> Testcase: testStoreToHBase_2_with_projection took 0.34 sec
>        Caused an ERROR
> Error during parsing. <line 1, column 84>  mismatched input '(' expecting
> SEMI_COLON
> org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during
> parsing. <line 1, column 84>  mismatched input '(' expecting SEMI_COLON
>        at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1597)
>        at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1540)
>        at org.apache.pig.PigServer.registerQuery(PigServer.java:540)
>        at org.apache.pig.PigServer.registerQuery(PigServer.java:553)
>        at
> org.apache.pig.test.TestHBaseStorage.scanTable1(TestHBaseStorage.java:771)
>        at
> org.apache.pig.test.TestHBaseStorage.scanTable1(TestHBaseStorage.java:767)
>        at
> org.apache.pig.test.TestHBaseStorage.testStoreToHBase_2_with_projection(TestHBaseStorage.java:706)
> Caused by: Failed to parse: <line 1, column 84>  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.parseQuery(PigServer.java:1589)

Reply via email to