Guruguha Marur Sreenivasa
04/11/2023, 4:55 PMMapState we use is empty on restart and it starts build up again. We are saving checkpoints on S3. Below is my checkpointing config:
this.env.enableCheckpointing(30000, CheckpointingMode.EXACTLY_ONCE);
this.env.setStateBackend(new HashMapStateBackend());
final CheckpointConfig config = env.getCheckpointConfig();
config.setExternalizedCheckpointCleanup(CheckpointConfig.ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION);
config.setCheckpointStorage(checkPointBucket);
config.setTolerableCheckpointFailureNumber(applicationConfiguration.getCheckpointFailureTolerance());
3. Are there ways to optimize the pipelines so there is less data transfer across task managers as streaming data progresses through to further stages in the pipeline?Joao Boto
04/12/2023, 8:48 AM