hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kan...@apache.org
Subject svn commit: r1214968 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java
Date Thu, 15 Dec 2011 22:09:44 GMT
Author: kannan
Date: Thu Dec 15 22:09:44 2011
New Revision: 1214968

URL: http://svn.apache.org/viewvc?rev=1214968&view=rev
Log:
HBASE-5014 PutSortReducer should adhere to memory limits

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java?rev=1214968&r1=1214967&r2=1214968&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java Thu Dec
15 22:09:44 2011
@@ -61,7 +61,7 @@ public class PutSortReducer extends
         for (List<KeyValue> kvs : p.getFamilyMap().values()) {
           for (KeyValue kv : kvs) {
             map.add(kv);
-            curSize += kv.getValueLength();
+            curSize += kv.getLength();
           }
         }
       }



Mime
View raw message