sanha commented on a change in pull request #2: [NEMO-7] Intra-TaskGroup
pipelining
URL: https://github.com/apache/incubator-nemo/pull/2#discussion_r173049096
##########
File path:
examples/beam/src/main/java/edu/snu/nemo/examples/beam/AlternatingLeastSquare.java
##########
@@ -270,7 +269,8 @@ public void processElement(final ProcessContext c) throws
Exception {
*/
@FinishBundle
public void finishBundle(final FinishBundleContext c) {
- results.forEach(r -> c.output(r, null, null));
+ KV<Integer, List<Double>> resultElement = results.remove(0);
Review comment:
Is this an expected behavior?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services