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_r320668647
##########
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:
I'm highly suspect the value brought by `JobExecutorService`. Its only
implementation is `MiniCluster`. Also, it might have name conflict with the
ongoing "Executor".
----------------------------------------------------------------
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