[
https://issues.apache.org/jira/browse/FLINK-11151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16720209#comment-16720209
]
TisonKun commented on FLINK-11151:
----------------------------------
This should be a net win.
> 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.6.2, 1.7.0
> Reporter: Chesnay Schepler
> Assignee: Chesnay Schepler
> Priority: Major
> 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)