[
https://issues.apache.org/jira/browse/CASSANDRA-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749442#comment-13749442
]
Cyril Scetbon edited comment on CASSANDRA-4131 at 8/25/13 7:14 PM:
-------------------------------------------------------------------
Okay I'm using your code but I was using CassandraStorageHandler instead of
CqlStorageHandler in the Hive DDL command :( Is there a documentation somewhere
which describes how to use your driver ? I don't have any issue when I use
CassandraStorageHandler with a cql2 table, but when I use CqlStorageHandler
with a cql3 table I get :
java.io.IOException: java.lang.ClassCastException:
org.apache.hadoop.io.MapWritable cannot be cast to
org.apache.hadoop.io.WritableComparable
at
org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:521)
FYI, I use Hadoop 1.2.1 (as Hadoop 2 is not supported) and tried with both hive
0.10.0 and 0.11.0. Any idea ?
You can find the complete trace at http://pastebin.com/0wCL3132
was (Author: cscetbon):
Okay I'm using your code but I was using CassandraStorageHandler instead of
CqlStorageHandler in the Hive DDL command :( Is there a documentation somewhere
which describes how to use your driver ? I don't have any issue when I use
CassandraStorageHandler with a cql2 table, but when I use CqlStorageHandler
with a cql3 table I get :
java.io.IOException: java.lang.ClassCastException:
org.apache.hadoop.io.MapWritable cannot be cast to
org.apache.hadoop.io.WritableComparable
at
org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:521)
I use Hadoop 1.2.1 as Hadoop 2 is not supported. Is it related to my Hadoop
version ?
> Integrate Hive support to be in core cassandra
> ----------------------------------------------
>
> Key: CASSANDRA-4131
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4131
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Jeremy Hanna
> Assignee: Edward Capriolo
> Labels: hadoop, hive
>
> The standalone hive support (at https://github.com/riptano/hive) would be
> great to have in-tree so that people don't have to go out to github to
> download it and wonder if it's a left-for-dead external shim.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira