[ https://issues.apache.org/jira/browse/CASSANDRA-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757919#comment-13757919 ]
Cyril Scetbon commented on CASSANDRA-4131: ------------------------------------------ I dig into the code and it comes from the fact that in class org.apache.hadoop.hive.cassandra.input.cql.CqlHiveRecordReader, createKey() function returns a MapWritable object whereas in class org.apache.hadoop.hive.ql.exec.FetchOperator, function getRecordReader() tries to get the key with the following code {code}key = currRecReader.createKey();{code} But key is defined as a WritableComparable and so can't store a MapWritable object returned by CqlHiveRecordReader.createKey() function Tell me if I'm wrong or if you have some patches to apply > 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