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

incremental Keyed state with RocksDB throws cannot create directory error in windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.2, 1.9.2, 1.10.0
    • 1.10.1, 1.11.0

    Description

      Facing error while enabling keyed state with RocksDBBackend with checkpointing to a local windows directory

       

      Caused by: org.rocksdb.RocksDBException: Failed to create dir: /c:/tmp/data/job_dbe01128760d4d5cb90809cd94c2a936_op_StreamMap_b5c8d46f3e7b141acf271f12622e752b__3_8__uuid_45c1f62b-a198-44f5-add5-7683079b03f8/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:406)
      
                      ... 13 more
      

       

       

      Attachments

        Activity

          People

            sewen Stephan Ewen
            imamitsehgal Amit
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m