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

RocksDB backend does not work on Windows due to path issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Not a Priority
    • Resolution: Duplicate
    • 1.6.2
    • None
    • None

    Description

      ForĀ -Djava.io.tmpdir=C:/some/path/tmp

      Getting following error when running job from IDE (local env):

      Caused by: org.rocksdb.RocksDBException: Failed to create dir: /C:/some/path/tmp/flink-io-2a68cdeb-8474-487d-8e61-393dde20a2af/job_e0cc28012d2aca77290bb3880c452f66_op_WindowOperator_700a073d2ada22dc548debf1e8f75ec2__1_1__uuid_de037d5c-4a38-4c71-8133-9b208ce54b23/chk-1.tmp: Invalid argument
      at org.rocksdb.Checkpoint.createCheckpoint(Native Method)
      at org.rocksdb.Checkpoint.createCheckpoint(Checkpoint.java:51)
      at org.apache.flink.contrib.streaming.state.RocksDBKeyedStateBackend$RocksDBIncrementalSnapshotOperation.takeSnapshot(RocksDBKeyedStateBackend.java:2549)
      at org.apache.flink.contrib.streaming.state.RocksDBKeyedStateBackend$IncrementalSnapshotStrategy.performSnapshot(RocksDBKeyedStateBackend.java:2008)
      at org.apache.flink.contrib.streaming.state.RocksDBKeyedStateBackend.snapshot(RocksDBKeyedStateBackend.java:498)
      at org.apache.flink.streaming.api.operators.AbstractStreamOperator.snapshotState(AbstractStreamOperator.java:383)
      ... 13 more

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alaczynski Adam Laczynski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: