nemo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nemo] alapha23 commented on a change in pull request #231: [NEMO-406] Invoke LambdaExecutor without creating containers
Date Mon, 19 Aug 2019 22:19:15 GMT
alapha23 commented on a change in pull request #231: [NEMO-406] Invoke LambdaExecutor without
creating containers
URL: https://github.com/apache/incubator-nemo/pull/231#discussion_r315436190
 
 

 ##########
 File path: runtime/master/src/main/java/org/apache/nemo/runtime/master/RuntimeMaster.java
 ##########
 @@ -332,6 +331,28 @@ public void requestContainer(final String resourceSpecificationString)
{
     }
   }
 
+  /**
+   * Requests a lambda executor.
+   */
+  public void requestLambdaExecutor() {
+    final ExecutorRepresenter executorRepresenter;
+    final String executorId = RuntimeIdManager.generateExecutorId();
+    final String nodeName = "192.168.0.100";
+
+    // LambdaRuntimeMaster manages Netty Server for LambdaExecutor to connect to
+    // Set up netty server at port 9999, and registers handler
+    this.lambdaMaster = new LambdaMaster();
+
+    // Initiate one LambdaExecutor
+    this.lambdaMaster.invokeExecutor();
+    // NettyChannelinitializer.initChannel will be called if LambdaExecutor connects successfully
+
+    executorRepresenter =
 
 Review comment:
   Already declared at [L338](https://github.com/alapha23/incubator-nemo/blob/NEMO-406/runtime/master/src/main/java/org/apache/nemo/runtime/master/RuntimeMaster.java#L338)

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