commit | ef2a84fc60b2079401aab2a91015c02ec799af18 | [log] [tgz] |
---|---|---|
author | buyingyi <buyingyi@gmail.com> | Thu Jul 25 18:04:20 2013 -0700 |
committer | buyingyi <buyingyi@gmail.com> | Thu Jul 25 18:04:20 2013 -0700 |
tree | e0b324e47ffb0c3ec61af26b210cdbf92eed3404 | |
parent | 648d11e62a828feffbccaff09163becbafe0d228 [diff] |
a temp fix for size estimation
diff --git a/pregelix/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java b/pregelix/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java index 3d52a45..acd766e 100644 --- a/pregelix/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java +++ b/pregelix/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java
@@ -180,7 +180,7 @@ throw new HyracksDataException(e); } } - return size; + return size * 2; } private void emitResultTuple(IFrameTupleAccessor accessor, int tIndex, AggregateState state) @@ -224,4 +224,4 @@ }; } -} \ No newline at end of file +}