mirror of https://github.com/apache/cassandra
fix setting key length for old-style mapred api
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-4534
This commit is contained in:
parent
8b6ce324bf
commit
197511f0b1
|
|
@ -1,4 +1,5 @@
|
|||
1.0.12
|
||||
* (Hadoop) fix setting key length for old-style mapred api (CASSANDRA-4534)
|
||||
* (Hadoop) fix iterating through a resultset consisting entirely
|
||||
of tombstoned rows (CASSANDRA-4466)
|
||||
|
||||
|
|
|
|||
|
|
@ -416,7 +416,7 @@ public class ColumnFamilyRecordReader extends RecordReader<ByteBuffer, SortedMap
|
|||
{
|
||||
key.clear();
|
||||
key.put(this.getCurrentKey());
|
||||
key.rewind();
|
||||
key.flip();
|
||||
|
||||
value.clear();
|
||||
value.putAll(this.getCurrentValue());
|
||||
|
|
|
|||
Loading…
Reference in New Issue