You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2013/12/30 20:55:50 UTC

[jira] [Commented] (CASSANDRA-6501) Cannot run pig examples on current 2.0 branch

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

Alex Liu commented on CASSANDRA-6501:
-------------------------------------

I manually add CASSANDRA-6309 to 2.0.3 release and tested it on pig 0.10.0, it worked fine. It looks like cassandra-2.0 branch has some issues.

> Cannot run pig examples on current 2.0 branch
> ---------------------------------------------
>
>                 Key: CASSANDRA-6501
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6501
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>            Reporter: Jeremy Hanna
>            Assignee: Alex Liu
>              Labels: pig
>
> I checked out the cassandra-2.0 branch to try the pig examples because the 2.0.3 release has the CASSANDRA-6309 problem which is fixed on the branch.  I tried to run both the cql and the CassandraStorage examples in local mode with pig 0.10.1, 0.11.1, and 0.12.0 and all of them give the following error and stack trace:
> {quote}
> ERROR 2998: Unhandled internal error. readLength_
> java.lang.NoSuchFieldError: readLength_
> 	at org.apache.cassandra.thrift.TBinaryProtocol$Factory.getProtocol(TBinaryProtocol.java:57)
> 	at org.apache.thrift.TSerializer.<init>(TSerializer.java:66)
> 	at org.apache.cassandra.hadoop.pig.AbstractCassandraStorage.cfdefToString(AbstractCassandraStorage.java:508)
> 	at org.apache.cassandra.hadoop.pig.AbstractCassandraStorage.initSchema(AbstractCassandraStorage.java:470)
> 	at org.apache.cassandra.hadoop.pig.CassandraStorage.setLocation(CassandraStorage.java:318)
> 	at org.apache.cassandra.hadoop.pig.CassandraStorage.getSchema(CassandraStorage.java:357)
> 	at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOLoad.java:151)
> 	at org.apache.pig.newplan.logical.relational.LOLoad.getSchema(LOLoad.java:110)
> 	at org.apache.pig.parser.LogicalPlanGenerator.alias_col_ref(LogicalPlanGenerator.java:15356)
> 	at org.apache.pig.parser.LogicalPlanGenerator.col_ref(LogicalPlanGenerator.java:15203)
> 	at org.apache.pig.parser.LogicalPlanGenerator.projectable_expr(LogicalPlanGenerator.java:8881)
> 	at org.apache.pig.parser.LogicalPlanGenerator.var_expr(LogicalPlanGenerator.java:8632)
> 	at org.apache.pig.parser.LogicalPlanGenerator.expr(LogicalPlanGenerator.java:7984)
> 	at org.apache.pig.parser.LogicalPlanGenerator.flatten_generated_item(LogicalPlanGenerator.java:5962)
> 	at org.apache.pig.parser.LogicalPlanGenerator.generate_clause(LogicalPlanGenerator.java:14101)
> 	at org.apache.pig.parser.LogicalPlanGenerator.foreach_plan(LogicalPlanGenerator.java:12493)
> 	at org.apache.pig.parser.LogicalPlanGenerator.foreach_clause(LogicalPlanGenerator.java:12360)
> 	at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1577)
> 	at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:789)
> 	at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:507)
> 	at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:382)
> 	at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:175)
> 	at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1589)
> 	at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1540)
> 	at org.apache.pig.PigServer.registerQuery(PigServer.java:540)
> 	at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:970)
> 	at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:386)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:189)
> 	at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:165)
> 	at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:84)
> 	at org.apache.pig.Main.run(Main.java:555)
> 	at org.apache.pig.Main.main(Main.java:111)
> ================================================================================
> {quote}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)