You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2023/05/31 11:36:00 UTC
[jira] [Updated] (FLINK-32226) RestClusterClient leaks jobgraph file if submission fails
[ https://issues.apache.org/jira/browse/FLINK-32226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-32226:
-------------------------------------
Priority: Minor (was: Major)
> RestClusterClient leaks jobgraph file if submission fails
> ---------------------------------------------------------
>
> Key: FLINK-32226
> URL: https://issues.apache.org/jira/browse/FLINK-32226
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.17.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Minor
> Fix For: 1.18.0, 1.17.2
>
>
> {code:java}
> submissionFuture
> .thenCompose(ignored -> jobGraphFileFuture)
> .thenAccept(
> jobGraphFile -> {
> try {
> Files.delete(jobGraphFile);
> } catch (IOException e) {
> LOG.warn("Could not delete temporary file {}.", jobGraphFile, e);
> }
> });
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)