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

RocksDBAsyncSnapshotTest should use temp fold instead of fold with fixed name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wenlong.lwl Wenlong Lyu
                Reporter:
                wenlong.lwl Wenlong Lyu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: