cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-6501) Cannot run pig examples on current 2.0 branch
Date Mon, 06 Jan 2014 13:49:52 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams resolved CASSANDRA-6501.
-----------------------------------------

    Resolution: Cannot Reproduce

> 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)

Mime
View raw message