You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Patrik Modesto (Created) (JIRA)" <ji...@apache.org> on 2012/03/30 09:30:38 UTC
[jira] [Created] (CASSANDRA-4105) Use WritableComparable / Writable
in RecordReader
Use WritableComparable / Writable in RecordReader
-------------------------------------------------
Key: CASSANDRA-4105
URL: https://issues.apache.org/jira/browse/CASSANDRA-4105
Project: Cassandra
Issue Type: Wish
Components: Hadoop
Affects Versions: 0.8.11, 1.0.9, 1.1.1, 1.2
Reporter: Patrik Modesto
Cassandra uses ByteByffer/List<Mutation> as key/value in RecordWriter. This prevents the use of MultipleOutputs class that requires a key to be WritableComparable and value to be Writable. MultipleOutputs is a very handy class that provides a way to write to several differrent OutputFormats from a reducer. In our case I have a mapreduce job that produces two results which I need to write to Cassandra and to a file respectively and as for now I need to run that mapreduce twice which is quite expensive.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira