Hi Hequn, I tried with following :
Configuration conf = new Configuration(); conf.setString("state.checkpoints.dir","file:///home/sohanvir/Desktop/flink/checkpoints2"); final StreamExecutionEnvironment env = StreamExecutionEnvironment.createLocalEnvironment(1,conf); CheckpointConfig config = env.getCheckpointConfig(); config.enableExternalizedCheckpoints(ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION); env.setParallelism(1); env.enableCheckpointing(20 * SECOND); env.getCheckpointConfig().setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE); env.setStateBackend(new RocksDBStateBackend("file:///home/sohanvir/Desktop/flink/checkpoints")); Still issue persists. Any idea ? -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/