hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r898657 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
Date Wed, 13 Jan 2010 06:38:15 GMT
Author: stack
Date: Wed Jan 13 06:38:15 2010
New Revision: 898657

URL: http://svn.apache.org/viewvc?rev=898657&view=rev
Log:
HBASE-2101 KeyValueSortReducer collapses all values to last passed

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=898657&r1=898656&r2=898657&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Wed Jan 13 06:38:15 2010
@@ -42,6 +42,7 @@
    HBASE-2094  hbase-2037 breaks mapreduce jobs going from 0.20.2 to 0.20.3
    HBASE-2093  [stargate] RowSpec parse bug (Andrew Purtell via JD)
    HBASE-2097  Deadlock between HRegion.put and HRegion.close (Stack via JD)
+   HBASE-2101  KeyValueSortReducer collapses all values to last passed
 
   IMPROVEMENTS
    HBASE-1970  Export does one version only; make it configurable how many

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java?rev=898657&r1=898656&r2=898657&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
Wed Jan 13 06:38:15 2010
@@ -38,7 +38,7 @@
   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;



Mime
View raw message