How to avoid checkpoint failures ...
# troubleshooting
p
How to avoid checkpoint failures Context --> I have enabled checkpointing , with below configs checkpointDurationMs: 60000 checkpointTimeoutMs: 180000 maxCheckpointRetained: 10 tolerableFailedCheckpoint: 100 I am using flink kubernetes operator , whenever i uninstall and reinstall the flink deployments i see these exceptions in my jobmanager and my checkpoints fails.
Caused by: java.io.IOException: Target file file:/data/datas-template/checkpoints/00000000067179110000000000000000/chk-1/_metadata already exists.
g
seems like the checkpoint path conflicts for your jobs
what operator version are you using?
I thought we already fixed this issue in newer operator releases by generating random jobIds everytime the job starts from an empty state
the manual workaround is to adjust the checkpoint path before you create the deployment initially
p
Yes , we are seeing same folder on the external azure file storage getting used even with new deployment. Operator version is 1.0.0
Adjusting the checkpoint path works , but that would be something we would have to do for every new deployment
s
Operator version is 1.0.0
That's pretty old though, try upgrading to the latest version.
p
Yes will upgrade now and give a try
馃憤 1
Updated Flink operator to 1.3.0 and issue is resolved. Now every new deployment get a new Job id and hence a new folder is getting created in target directory for checkpoint storage. Thanks a lot for the inputs
鉂わ笍 1