diff --git a/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java b/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java index 0cba4bfad68..e76df8c19e2 100644 --- a/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java +++ b/src/main/java/org/apache/hadoop/hbase/mapreduce/PutSortReducer.java @@ -61,7 +61,7 @@ public class PutSortReducer extends for (List kvs : p.getFamilyMap().values()) { for (KeyValue kv : kvs) { map.add(kv); - curSize += kv.getValueLength(); + curSize += kv.getLength(); } } }