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

Jar upload directory not created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.0, 1.3.0, 1.4.0
    • 1.3.2, 1.4.0
    • Runtime / Web Frontend
    • None

    Description

      Steps to reproduce:

      • setup configuration property: jobmanager.web.tmpdir = /mnt/flink/web
      • this directory should not exist
      • Run flink job manager.
      • in logs:
        2017-05-11 12:07:58,397 ERROR org.apache.flink.runtime.webmonitor.WebMonitorUtils           - WebServer could not be created [main]
        java.io.IOException: Jar upload directory /mnt/flink/web/flink-web-3f2733c3-6f4c-4311-b617-1e93d9535421 cannot be created or is not writable.
        

      Expected:

      • create parent directories if they do not exit. i.e. use "uploadDir.mkdirs()" instead of "uploadDir.mkdir()"

      Note:

      • BlobServer create parent directories (See BlobUtils storageDir.mkdirs())

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              dernasherbrezon Andrey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: