zentol commented on a change in pull request #14777:
URL: https://github.com/apache/flink/pull/14777#discussion_r566821745



##########
File path: 
flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarRunHandler.java
##########
@@ -103,6 +103,11 @@ public JarRunHandler(
                         executor)
                 .handle(
                         (jobIds, throwable) -> {
+                            try {
+                                program.deleteExtractedLibraries();

Review comment:
       Yes, the JarListHandler has the same problem. I did not know it actually 
creates a `PackagedProgram`.
   
   As for the `ApplicationClusterEntryPoint`, the files _should_ be cleaned up 
when the entry point shuts down because we call `File#deleteOnExit` in 
`PackagedProgram#createTempFile`.




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to