yanghua commented on a change in pull request #6759: [FLINK-10247][Metrics] Run 
MetricQueryService in a dedicated actor system
URL: https://github.com/apache/flink/pull/6759#discussion_r221156434
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/clusterframework/BootstrapTools.java
 ##########
 @@ -143,11 +169,30 @@ public static ActorSystem startActorSystem(
         * @return The ActorSystem which has been started.
         * @throws Exception
         */
+       public static ActorSystem startActorSystem(
+               Configuration configuration,
+               String listeningAddress,
+               int listeningPort,
+               Logger logger) throws Exception {
+               return startActorSystem(configuration, listeningAddress, 
listeningPort, logger, AkkaExecutorMode.FORK_JOIN_EXECUTOR);
+       }
+
+       /**
+        * Starts an Actor System at a specific port.
+        * @param configuration The Flink configuration.
+        * @param listeningAddress The address to listen at.
+        * @param listeningPort The port to listen at.
+        * @param logger the logger to output log information.
+        * @param executorMode The executor mode of Akka actor system.
+        * @return The ActorSystem which has been started.
+        * @throws Exception
 
 Review comment:
   Give a description about the exception.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to