cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrik Modesto (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-4105) Use WritableComparable / Writable in RecordReader
Date Fri, 30 Mar 2012 07:30:38 GMT
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

        

Mime
View raw message