sanha commented on a change in pull request #112: [NEMO-179] Delayed Task 
Cloning
URL: https://github.com/apache/incubator-nemo/pull/112#discussion_r211810943
 
 

 ##########
 File path: 
runtime/master/src/main/java/edu/snu/nemo/runtime/master/RuntimeMaster.java
 ##########
 @@ -103,6 +106,15 @@ private RuntimeMaster(final Scheduler scheduler,
     // and keeping it single threaded removes the complexity of multi-thread 
synchronization.
     this.runtimeMasterThread =
         Executors.newSingleThreadExecutor(runnable -> new Thread(runnable, 
"RuntimeMaster thread"));
+
+    // Check for speculative execution every second.
+    this.speculativeExecutionThread = 
Executors.newSingleThreadScheduledExecutor();
 
 Review comment:
   Please set the name of thread for debugging.

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