kl0u commented on a change in pull request #11460: [FLINK-16655][FLINK-16657] 
Introduce embedded executor and use it for Web Submission
URL: https://github.com/apache/flink/pull/11460#discussion_r402974738
 
 

 ##########
 File path: 
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarRunHandler.java
 ##########
 @@ -67,41 +69,40 @@ public JarRunHandler(
                        final MessageHeaders<JarRunRequestBody, 
JarRunResponseBody, JarRunMessageParameters> messageHeaders,
                        final Path jarDir,
                        final Configuration configuration,
-                       final Executor executor) {
+                       final Executor executor,
+                       final Supplier<ApplicationRunner> 
applicationRunnerSupplier) {
                super(leaderRetriever, timeout, responseHeaders, 
messageHeaders);
 
                this.jarDir = requireNonNull(jarDir);
                this.configuration = requireNonNull(configuration);
                this.executor = requireNonNull(executor);
+
+               this.applicationRunner = applicationRunnerSupplier.get();
 
 Review comment:
   For testing.

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


With regards,
Apache Git Services

Reply via email to