You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Cyril Scetbon (JIRA)" <ji...@apache.org> on 2013/09/04 18:22:54 UTC

[jira] [Commented] (CASSANDRA-4131) Integrate Hive support to be in core cassandra

    [ 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