cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: [mapreduce] ColumnFamilyRecordWriter hidden reuse
Date Wed, 26 Jan 2011 14:56:14 GMT
On Tue, Jan 25, 2011 at 12:09 PM, Mick Semb Wever <> wrote:
> Well your key is a mutable Text object, so i can see some possibility
> depending on how hadoop uses these objects.

Yes, that's it exactly.  We recently fixed a bug in the demo
word_count program for this. Now we do
ByteBuffer.wrap(Arrays.copyOf(text.getBytes(), text.getLength())).

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message