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

BlobServer.createTemporaryFilename() has concurrency safety problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.4, 1.1.0
    • None
    • None

    Description

      When JobManager just started to receive multiple concurrent requests,BlobServer.createTemporaryFilename() has concurrency safety problem.

      Exception:
      ```

      [2016-05-13 10:53:10.262] [BLOB connection for /xx.xx.xx.xx:55231] ERROR org.apache.flink.runtime.blob.BlobServerConnection - PUT operation failed
      java.lang.RuntimeException: Cannot create directory for incoming files D:\RDSWorkSpace\computing-rc\target\test\tmp\blobs\blobStore-63d1bef5-d92c-4a24-bf34-ff9c23046b71\incoming
      at org.apache.flink.runtime.blob.BlobUtils.getIncomingDirectory(BlobUtils.java:112) ~[flink-runtime-rds-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.flink.runtime.blob.BlobServer.createTemporaryFilename(BlobServer.java:217) ~[flink-runtime-rds-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.flink.runtime.blob.BlobServerConnection.put(BlobServerConnection.java:296) [flink-runtime-rds-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at org.apache.flink.runtime.blob.BlobServerConnection.run(BlobServerConnection.java:109) [flink-runtime-rds-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]

      ```

      Attachments

        Issue Links

          Activity

            People

              MarkReddy Mark Reddy
              bowen.zheng ZhengBowen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: