You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2023/05/31 11:33:00 UTC
[jira] [Created] (FLINK-32226) RestClusterClient leaks jobgraph file if submission fails
Chesnay Schepler created FLINK-32226:
----------------------------------------
Summary: 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
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)