Chesnay Schepler created FLINK-21210:
----------------------------------------
Summary: ApplicationClusterEntryPoints should explicitly close PackagedProgram
Key: FLINK-21210
URL:
https://issues.apache.org/jira/browse/FLINK-21210 Project: Flink
Issue Type: Improvement
Components: Runtime / Coordination
Reporter: Chesnay Schepler
Fix For: 1.11.4, 1.12.2, 1.13.0
FLINK-21164 introduced {{PackagedProgram#close}} to clean up temporary jars, and with FLINK-9844 the contained classloader will also be closed beforehand. This allows these files to be cleaned up properly.
To make it obvious that this also happens in the application cluster entrypoints (and to reduce the chances of this potentially leaking code being copied elsewhere) we should adjust the entrypoints to explicitly close the \{{PackagedProgram}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)