You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ZhengBowen (JIRA)" <ji...@apache.org> on 2016/05/16 03:55:12 UTC

[jira] [Created] (FLINK-3914) BlobServer.createTemporaryFilename() has concurrency safety problem

ZhengBowen created FLINK-3914:
---------------------------------

             Summary: BlobServer.createTemporaryFilename() has concurrency safety problem
                 Key: FLINK-3914
                 URL: https://issues.apache.org/jira/browse/FLINK-3914
             Project: Flink
          Issue Type: Bug
            Reporter: ZhengBowen


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]

```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)