nemo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nemo] wonook commented on a change in pull request #201: [NEMO-358] Cloning a vertex should also inherit the vertex ID
Date Mon, 18 Mar 2019 08:37:32 GMT
wonook commented on a change in pull request #201: [NEMO-358] Cloning a vertex should also
inherit the vertex ID
URL: https://github.com/apache/incubator-nemo/pull/201#discussion_r266336002
 
 

 ##########
 File path: common/src/main/java/org/apache/nemo/common/ir/IdManager.java
 ##########
 @@ -34,13 +40,42 @@ private IdManager() {
   private static AtomicInteger edgeId = new AtomicInteger(1);
   private static volatile boolean isDriver = false;
 
+  // Vertex ID Map to be used upon cloning in loop vertices.
+  private static final Map<Vertex, Queue<String>> VERTEX_ID_MAP = new HashMap<>();
 
 Review comment:
   Thanks! I've refactored the code.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Mime
View raw message