(DEPRECATED) Apache Flink User Mailing List archive.
Search
everywhere
only in this topic
Advanced Search
How can I programmatically set RocksDBStateBackend?
Classic
List
Threaded
♦
♦
Locked
2 messages
kant kodali
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
How can I programmatically set RocksDBStateBackend?
Hi All,
How can I programmatically set RocksDBStateBackend? I did the following
env.setStateBackend always shows deprecated. so what is the right way to do this in flink 1.10?
Thanks!
KristoffSC
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: How can I programmatically set RocksDBStateBackend?
Hi,
I had same case but with FsStateBackend.
Cast it to StateBackend type.
env.setStateBackend((StateBackend) new FsStateBackend("some/Path"));
I think this is some inconsistency in API.
--
Sent from:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Free forum by Nabble
Edit this page