Chesnay Schepler created FLINK-11151:
----------------------------------------
Summary: FileUploadHandler stops working if the upload directory
is removed
Key: FLINK-11151
URL: https://issues.apache.org/jira/browse/FLINK-11151
Project: Flink
Issue Type: Bug
Components: Job-Submission, REST
Affects Versions: 1.7.0, 1.6.2
Reporter: Chesnay Schepler
Assignee: Chesnay Schepler
Fix For: 1.6.3, 1.8.0, 1.7.2
A user has reported on the ML that the FileUploadHandler does not accept any
files anymore if the upload directory was deleted after the cluster has been
started.
A cursory glance at the code shows that it currently uses
{{Files.createDirectory(...)}} to create a temporary directory for the current
request to store uploaded files in.
Changing this to use {{Files.createDirectories(...)}} instead should prevent
this from happening again.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)