Leonid Ilyevsky created FLINK-23981:
---------------------------------------

             Summary: 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.2, 1.13.1
            Reporter: Leonid Ilyevsky


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)

Reply via email to