[ 
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 9/4/13 2:48 PM:
------------------------------------------------------------------

Okay I'm using your branch (cas-support-cql) 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. I also tried with Hadoop 0.20.2 as you use version 
0.20.205.0 as a dependancy in the maven configuration file (pom.xml).

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)

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. I also tried with Hadoop 0.20.2 as you use version 
0.20.205.0 as a dependancy in the maven configuration file (pom.xml).

Any idea ?
You can find the complete trace at http://pastebin.com/0wCL3132 
                  
> 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

Reply via email to