You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@nemo.apache.org by GitBox <gi...@apache.org> on 2020/07/02 09:29:52 UTC

[GitHub] [incubator-nemo] polarcoke2 commented on a change in pull request #292: [NEMO-434] Logical DAG modification for Dynamic sampling of task metrics during the execution of a stage

polarcoke2 commented on a change in pull request #292:
URL: https://github.com/apache/incubator-nemo/pull/292#discussion_r448872724



##########
File path: common/src/main/java/org/apache/nemo/common/ir/IRDAG.java
##########
@@ -576,6 +577,36 @@ public void insert(final Set<SamplingVertex> toInsert,
     modifiedDAG = builder.build(); // update the DAG.
   }
 
+  /**
+   * Insert TaskSizeSplitterVertex in dag.
+   * @param toInsert                          TaskSizeSplitterVertex to insert.
+   * @param incomingEdgesOfOriginalVertices   Edges which goes into original vertices wrapped by Splitter Vertex.
+   * @param outgoingEdgesOfOriginalVertices   Edges which goes out from original vertices wrapped by Splitter Vertex.
+   * @param edgesWithSplitterVertex           Edges which will be inserted to the dag with Splitter Vertex.
+   */
+  public void insert(final TaskSizeSplitterVertex toInsert,

Review comment:
       I've added some tests and checked that this method can pass testThousandRandomConfigurations. Could you check it? Thanks.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org