You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/07/13 23:53:00 UTC
[jira] [Resolved] (PIG-2160) recent regression wrt
FrontendException: ERROR 1000
[ https://issues.apache.org/jira/browse/PIG-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair resolved PIG-2160.
--------------------------------
Resolution: Duplicate
> recent regression wrt FrontendException: ERROR 1000
> ---------------------------------------------------
>
> Key: PIG-2160
> URL: https://issues.apache.org/jira/browse/PIG-2160
> Project: Pig
> Issue Type: Bug
> Reporter: Woody Anderson
>
> i recently svn up'd http://svn.apache.org/repos/asf/pig/branches/branch-0.9 and rebuilt and tested the Antispam pig loader against the new 0.9.1 jar ensure everything is fine.
> this was working previously.. when the build version for the branch was 0.9.0
> currently not working at Revision: 1145388
> it's not, and i'm a bit confused, so hopefully someone can help me out:
> contents of ./target/surefire-reports/TEST-com.XTest.xml:
> {quote}
> ..
> <error message="Error during parsing. <line 1, column 113> mismatched input '(' expecting SEMI_COLON" type="org.apache.pig.impl.logicalLayer.FrontendException">org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing. <line 1, column 113> mismatched input '(' expecting SEMI_COLON
> at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1638)
> at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1583)
> at org.apache.pig.PigServer.registerQuery(PigServer.java:583)
> at org.apache.pig.PigServer.registerQuery(PigServer.java:596)
> at com...XTest.testLoadData(XTest.java:74)
> ..
> {quote}
> that test code method looks like this:
> {code}
> @SuppressWarnings("unchecked")
> @Test
> public void testLoadData() throws Exception {
> ...
> PigServer pigServer = new PigServer(ExecType.LOCAL);
> pigServer.registerQuery("A = load 'file:" + Util.encodeEscape(f.getAbsolutePath()) + "' using com.Storage(" +
> "'a, b, c, d, e, f, g, h, i'" +
> ") as (a:chararray, b:long, c:chararray, d:chararray, e:int, f:chararray, g:int, h:int, i:int);");
> ... }
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira