[
https://issues.apache.org/jira/browse/FLINK-23981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404983#comment-17404983
]
Chesnay Schepler commented on FLINK-23981:
------------------------------------------
Are you sure the file actually gets deleted? Be aware that different
jobmanagers do not know about jars uploaded to other jobmanagers.
> Delete file request returns an error even though the operation succeeded
> ------------------------------------------------------------------------
>
> Key: FLINK-23981
> URL: https://issues.apache.org/jira/browse/FLINK-23981
> Project: Flink
> Issue Type: New Feature
> Components: Runtime / REST
> Affects Versions: 1.13.1, 1.13.2
> Reporter: Leonid Ilyevsky
> Priority: Minor
>
> When deleting the previously uploaded file, I get http response with the
> error, complaining that the file does not exist.
> The file obviously does not exist AFTER it is deleted - maybe the check is
> done in the wrong place in the code?
> The delete operation actually succeeds, so as a workaround, I simply ignore
> the error; instead I check whether the file is actually gone (by making
> another REST call).
>
> I guess, the delete call should return some sort of success response instead
> of an error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)