You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/12/13 13:54:00 UTC

[jira] [Created] (FLINK-11151) FileUploadHandler stops working if the upload directory is removed

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)