TisonKun commented on a change in pull request #9607: [FLINK-13946] Remove job 
session related code from ExecutionEnvironment
URL: https://github.com/apache/flink/pull/9607#discussion_r320791574
 
 

 ##########
 File path: 
flink-clients/src/main/java/org/apache/flink/client/LocalExecutor.java
 ##########
 @@ -146,21 +129,9 @@ private JobExecutorService 
createJobExecutorService(Configuration configuration)
                return miniCluster;
        }
 
-       @Override
-       public void stop() throws Exception {
-               synchronized (lock) {
-                       if (jobExecutorService != null) {
-                               jobExecutorService.close();
-                               jobExecutorService = null;
-                       }
-               }
-       }
-
-       @Override
-       public boolean isRunning() {
-               synchronized (lock) {
-                       return jobExecutorService != null;
-               }
+       private void stopExecutorService(final JobExecutorService 
executorService) throws Exception {
 
 Review comment:
   Thanks for you information @tillrohrmann. @kl0u I'd like to make this 
removal a separated issue, fyi FLINK-13961.

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