johnyangk commented on a change in pull request #153: [NEMO-245,247] Handle 
watermark in OutputWriter and Implement unbounded word count example
URL: https://github.com/apache/incubator-nemo/pull/153#discussion_r232548270
 
 

 ##########
 File path: 
runtime/executor/src/main/java/org/apache/nemo/runtime/executor/datatransfer/PipeOutputWriter.java
 ##########
 @@ -70,6 +73,31 @@
     this.pipeManagerWorker.notifyMaster(runtimeEdge.getId(), 
RuntimeIdManager.getIndexFromTaskId(srcTaskId));
     this.partitioner = OutputWriter.getPartitioner(runtimeEdge, 
hashRangeMultiplier);
     this.runtimeEdge = runtimeEdge;
+    this.srcTaskIndex = RuntimeIdManager.getIndexFromTaskId(srcTaskId);
+  }
+
+  private void writeData(final Object element, final List<ByteOutputContext> 
pipeList) {
+    pipeList.forEach(pipe -> {
+
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("Write from {} to {}: {}", srcTaskIndex, 
pipe.getRemoteExecutorId(), element);
 
 Review comment:
   Can you remove this?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to