I use the state-processor-api since it was released to bootstrap my flink states. I use a RocksDBStateBackend and it works. We went to flink 1.13 recently, and the RocksDBStateBackend was deprecated in favor of EmbeddedRocksDBStateBackend.
My issue:
Since the change of API and the new bootstrap job I developed, I got the following exception:
Caused by: java.io.IOException: Size of the state is larger than the maximum permitted memory-backed state. Size=85356498 , maxSize=5242880 . Consider using a different state backend, like the File System State backend.
Here I declare my statebackend:
val backend = new EmbeddedRocksDBStateBackend(true)
And here I create my savepoint:
Savepoint
.create(backend, MAX_PARALLELISM)
.withOperator("my_operator", transformMyOperator)
.write(savepointPath)
Also, my flink cluster is configured to use a RocksDB state backend, and all others flink topologies use the RocksDB backend.
So I wonder why I got an exception saying I should not use a memory state backend since I use RocksDB. Any help would be welcome.