Fault Tolerance with RocksDBStateBackend

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Fault Tolerance with RocksDBStateBackend

Maminspapin
Hi everyone,

I want to build a flink cluster with 3 machines.
What if I choose RocksDBStateBackend with next settings:

#==============================================================================
# Fault tolerance and checkpointing
#==============================================================================

state.backend: rocksdb
state.checkpoints.dir: file:///home/flink/checkpoints
state.backend.incremental: true
jobmanager.execution.failover-strategy: region


Is it necessary to use distributed file systems like hdfs to provide fault
tolerance (i.e. state.checkpoints.dir: hdfs:///home/flink/checkpoints)?

There is no fault tolerance with file:// schema?

Thanks,
Yuri L.




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Fault Tolerance with RocksDBStateBackend

Guowei Ma
Hi,
You need some persistent storages(like hdfs) for the checkpoint. It is Flink's fault tolerance prerequisites.[1]


On Wed, Mar 24, 2021 at 1:21 PM Maminspapin <[hidden email]> wrote:
Hi everyone,

I want to build a flink cluster with 3 machines.
What if I choose RocksDBStateBackend with next settings:

#==============================================================================
# Fault tolerance and checkpointing
#==============================================================================

state.backend: rocksdb
state.checkpoints.dir: file:///home/flink/checkpoints
state.backend.incremental: true
jobmanager.execution.failover-strategy: region


Is it necessary to use distributed file systems like hdfs to provide fault
tolerance (i.e. state.checkpoints.dir: hdfs:///home/flink/checkpoints)?

There is no fault tolerance with file:// schema?

Thanks,
Yuri L.




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Fault Tolerance with RocksDBStateBackend

Maminspapin