hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r898658 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
Date Wed, 13 Jan 2010 06:40:50 GMT
Author: stack
Date: Wed Jan 13 06:40:49 2010
New Revision: 898658

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

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

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=898658&r1=898657&r2=898658&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Jan 13 06:40:49 2010
@@ -154,6 +154,7 @@
    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

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java?rev=898658&r1=898657&r2=898658&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
(original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapreduce/KeyValueSortReducer.java
Wed Jan 13 06:40:49 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