Hi All, We are using flink operator 1.8.0 with fl...
# troubleshooting
v
Hi All, We are using flink operator 1.8.0 with flink session cluster and having short living job with
restartNonce
and
upgradeMode
to
stateless
When first time submitting a job it runs fine and in after completion it moves to
FINISH
state but when I resubmit a job It complain about "Missing Session Job" as flink does not find last job and not able to stop previous job. Is there any way we can delete job from operator once it is in
FINISH
state OR can we upgrade job without reconciliation ?
s
Hi @Vaishal SHAH, Since your job has already finished due to a short life cycle, you are facing this problem. I see 2 options that might work out for you: 1. You could take an action like this for each fresh deployment. https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/job-management/#running-suspending[…]leting-applications 2. A hacky way would be to implement a suffix in your job name, and you increase that with each fresh deployment so that it does not conflict with the already run/finished job.
gratitude thank you 1