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

Always use memory state backend with RocksDB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.13.0, 1.13.2
    • None
    • Runtime / Web Frontend
    • None

    Description

      When I config to use `RocksDBStatebackend`, 

       

      //代码占位符
      RocksDBStateBackend rocksDBStateBackend = new RocksDBStateBackend("hdfs://xxxx");
      streamEnv.setStateBackend(rocksDBStateBackend);

       

      there are some exception like this:

       

      Seems like the RocksdbStatebackend will use FsStateBackend to store checkpoints. So it means that I have used FileSystemStateBackend, why does this exception occur?

       

      I use flink 1.13.0 and found a similar question like this at: https://stackoverflow.com/questions/68314652/flink-state-backend-config-with-the-state-processor-api

       

      I'm not sure if his question is same with mine.

      I want to know how can I solve this and if it is indeed a 1.13.0 bug, how can I bypass it besides upgrading?

       

      Attachments

        1. image-2021-09-17-10-59-50-094.png
          374 kB
          shiwuliang
        2. image-2021-09-17-12-03-58-285.png
          119 kB
          shiwuliang
        3. image-2021-09-17-12-04-55-009.png
          119 kB
          shiwuliang
        4. image-2021-09-17-12-16-46-277.png
          33 kB
          shiwuliang
        5. image-2021-09-17-17-46-07-196.png
          287 kB
          shiwuliang
        6. image-2021-09-17-17-47-20-950.png
          0.3 kB
          shiwuliang
        7. image-2021-09-17-17-50-19-099.png
          0.3 kB
          shiwuliang

        Activity

          People

            Unassigned Unassigned
            shiwuliang shiwuliang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: