cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Strickland (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-4208) ColumnFamilyOutputFormat should support writing to multiple column families
Date Thu, 03 May 2012 15:50:50 GMT


Robbie Strickland commented on CASSANDRA-4208:

@Jonathan: Yes that is the patch, although the Hadoop patch is not required as long as you
have the latest in trunk.  The Hadoop patch just moves the call to set the base name out of
FileOutputFormat and into OutputFormat--as a matter of principle and to avoid potential future

@Jake: Yes it is different. I examined prior branches to see where the changes were made,
and it's only in trunk--which is why I didn't see it until checking out trunk to make the

It probably makes sense to do a patch against Hadoop 1.0.2 and Cassandra 1.1 so people can
use a release version.  This is definitely doable without significant effort.
> ColumnFamilyOutputFormat should support writing to multiple column families
> ---------------------------------------------------------------------------
>                 Key: CASSANDRA-4208
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Hadoop
>    Affects Versions: 1.1.0
>            Reporter: Robbie Strickland
>         Attachments: trunk-4208-v2.txt, trunk-4208.txt
> It is not currently possible to output records to more than one column family in a single
reducer.  Considering that writing values to Cassandra often involves multiple column families
(i.e. updating your index when you insert a new value), this seems overly restrictive.  I
am submitting a patch that moves the specification of column family from the job configuration
to the write() call in ColumnFamilyRecordWriter.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message