Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-11151

FileUploadHandler stops working if the upload directory is removed

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m