HBASE-2101 KeyValueSortReducer collapses all values to last passed
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@898658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb1ca32dc2
commit
2af4aa5a9e
|
@ -154,6 +154,7 @@ Release 0.21.0 - Unreleased
|
|||
HBASE-2114 Can't start HBase in trunk (JD and Kay Kay via JD)
|
||||
HBASE-2115 ./hbase shell would not launch due to missing jruby dependency
|
||||
(Kay Kay via JD)
|
||||
HBASE-2101 KeyValueSortReducer collapses all values to last passed
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-1760 Cleanup TODOs in HTable
|
||||
|
|
|
@ -38,7 +38,7 @@ public class KeyValueSortReducer extends Reducer<ImmutableBytesWritable, KeyValu
|
|||
throws java.io.IOException, InterruptedException {
|
||||
TreeSet<KeyValue> map = new TreeSet<KeyValue>(KeyValue.COMPARATOR);
|
||||
for (KeyValue kv: kvs) {
|
||||
map.add(kv);
|
||||
map.add(kv.clone());
|
||||
}
|
||||
context.setStatus("Read " + map.getClass());
|
||||
int index = 0;
|
||||
|
|
Loading…
Reference in New Issue