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

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

     [ https://issues.apache.org/jira/browse/FLINK-11151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated FLINK-11151:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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.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)