[ https://issues.apache.org/jira/browse/FLINK-23981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405148#comment-17405148 ]
Leonid Ilyevsky edited comment on FLINK-23981 at 8/26/21, 11:10 AM: -------------------------------------------------------------------- I am sure that the file actually gets deleted. I checked it with the "/jars" request, and I also checked that the physical file is gone from the upload directory. I repeated this test multiple times. When I started experimenting with uploaded files, I actually noticed that the other jobmanagers do not know about the uploaded file. So I decided to configure upload directory on the shared file system. Can this be related to the issue? was (Author: lilyevsky): I am sure that the file actually gets deleted. I checked it with the "/jars" request, and I repeated this test multiple times. When I started experimenting with uploaded files, I actually noticed that the other jobmanagers do not know about the uploaded file. So I decided to configure upload directory on the shared file system. Can this be related to the issue? > 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)