commit | 232b3e990893eaffa9ea3a956d891e9dd168efa9 | [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 | 58eda338162ee496c69cd7b7d97d8dcd35f7fe0d | |
parent | e8ee96f0c85c2150ab5aa7215fc57ec0dc25d2fd [diff] |
a temp fix for size estimation
diff --git a/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java b/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java index 3d52a45..acd766e 100644 --- a/pregelix-runtime/src/main/java/edu/uci/ics/pregelix/runtime/simpleagg/AccumulatingAggregatorFactory.java +++ b/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 +}