[ 
https://issues.apache.org/jira/browse/FLINK-21210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279636#comment-17279636
 ] 

Chesnay Schepler edited comment on FLINK-21210 at 2/5/21, 11:45 AM:
--------------------------------------------------------------------

master: 93ac7ae7063926869762a6a4cbaa1d68b3229522
1.12: e129094e458f7f9a2c3f495cdc336df1e365eb44
1.11: d7d0bcafb27ead602066ce8b0cf9dbc4afd22058


was (Author: zentol):
master: 93ac7ae7063926869762a6a4cbaa1d68b3229522
1.12: e129094e458f7f9a2c3f495cdc336df1e365eb44

> 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
>            Assignee: Nicholas Jiang
>            Priority: Major
>              Labels: pull-request-available, starter
>             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)

Reply via email to