HBASE-5014 PutSortReducer should adhere to memory limits
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1214968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7e095fa615
commit
3772951b9d
|
@ -61,7 +61,7 @@ public class PutSortReducer extends
|
||||||
for (List<KeyValue> kvs : p.getFamilyMap().values()) {
|
for (List<KeyValue> kvs : p.getFamilyMap().values()) {
|
||||||
for (KeyValue kv : kvs) {
|
for (KeyValue kv : kvs) {
|
||||||
map.add(kv);
|
map.add(kv);
|
||||||
curSize += kv.getValueLength();
|
curSize += kv.getLength();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue