Wenlong Lyu created FLINK-8200:
----------------------------------

             Summary: RocksDBAsyncSnapshotTest should use temp fold instead of 
fold with fixed name
                 Key: FLINK-8200
                 URL: https://issues.apache.org/jira/browse/FLINK-8200
             Project: Flink
          Issue Type: Bug
            Reporter: Wenlong Lyu


The following case failed when different user run the test in the same machine.

Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.226 sec <<< 
FAILURE! - in org.apache.flink.contrib.streaming.state.RocksDBAsyncSnapshotTest
testCleanupOfSnapshotsInFailureCase(org.apache.flink.contrib.streaming.state.RocksDBAsyncSnapshotTest)
  Time elapsed: 0.023 sec  <<< ERROR!
java.io.IOException: No local storage directories available. Local DB files 
directory 'file:/tmp/foobar' does not exist and cannot be created.
    at 
org.apache.flink.contrib.streaming.state.RocksDBStateBackend.lazyInitializeForJob(RocksDBStateBackend.java:251)
    at 
org.apache.flink.contrib.streaming.state.RocksDBStateBackend.createKeyedStateBackend(RocksDBStateBackend.java:300)
    at 
org.apache.flink.contrib.streaming.state.RocksDBAsyncSnapshotTest.testCleanupOfSnapshotsInFailureCase(RocksDBAsyncSnapshotTest.java:338)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to