[
https://issues.apache.org/jira/browse/FLINK-11151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-11151.
------------------------------------
Resolution: Fixed
master: 84b66165b2be083da1ddece3053244bbda8c3eee
1.7: 51984fd02fc6d3d271c4a5a44aed08b85fc17fd9
1.6: 41f95a23b75e86310a096f94d52fde7f23a88933
> 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
> Labels: pull-request-available
> Fix For: 1.6.4, 1.7.2, 1.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)