tillrohrmann commented on a change in pull request #18083:
URL: https://github.com/apache/flink/pull/18083#discussion_r785782146
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
##########
@@ -507,9 +530,15 @@ private Configuration
generateClusterConfiguration(Configuration configuration)
final CompletableFuture<Void> rpcSystemClassLoaderCloseFuture =
FutureUtils.runAfterwards(serviceShutdownFuture,
rpcSystem::close);
- final CompletableFuture<Void> cleanupDirectoriesFuture =
- FutureUtils.runAfterwards(
- rpcSystemClassLoaderCloseFuture,
this::cleanupDirectories);
+ final CompletableFuture<Void> cleanupDirectoriesFuture;
+
+ if (shutdownBehaviour == ShutdownBehaviour.STOP_APPLICATION) {
Review comment:
Done.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]