Re: Clarification on state backend parameters

Posted by phoenixjiangnan on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Clarification-on-state-backend-parameters-tp11419p13742.html

Hi guys,
    This is great clarification!

    An extended question from me is, what's the difference between `state.checkpoints.dir` and the param you pass in to RocksDBStateBackend constructor in`public RocksDBStateBackend(URI checkpointDataUri) throws IOException`? They are really confusing.

    I specified checkpointDataUri but got error of `CheckpointConfig says to persist periodic checkpoints, but no checkpoint directory has been configured. You can configure configure one via key 'state.checkpoints.dir'.`.

Thanks,
Bowen