ztt
07/11/2024, 7:44 AMCaused by: org.apache.flink.util.FlinkRuntimeException: Exceeded checkpoint tolerable failure threshold. The latest checkpoint failed due to Asynchronous task checkpoint failed., view the Checkpoint History tab or the Job Manager log to find out why continuous checkpoints failed.
and the task manager raised exception
Size of the state is larger than the maximum permitted memory-backed state. Size=22493170, maxSize=5242880. Consider using a different checkpoint storage, like the FileSystemCheckpointStorage.
should I Expansion the task manager's memory or add some code in my Java
thx a lotD. Draco O'Brien
07/11/2024, 8:41 AMD. Draco O'Brien
07/11/2024, 8:42 AMenv.enableCheckpointing(interval);
env.getCheckpointConfig().setCheckpointStorage("file:///path/to/checkpoints");
env.setStateBackend(new RocksDBStateBackend("file:///path/to/checkpoint/rdb", true));ztt
07/11/2024, 9:24 AMD. Draco O'Brien
07/11/2024, 10:14 AM