Hi folks, I recently upgraded to Flink 1.12.0 and I’m hitting an issue where my JM is crashing while cancelling a job. This is causing Kubernetes readiness probes to fail, the JM to be restarted, and then get in a bad
state while it tries to recover itself using ZK + a checkpoint which no longer exists. This is the only information being logged before the process exits: method: uncaughtException I’m not sure how to debug this further, but it seems like an internal Flink bug? More info:
Thanks, Kelly |
Thanks for reporting and analyzing this issue Kelly. I think you are indeed running into a Flink bug. I think the problem is the following: With Flink 1.12.0 [1] we introduced a throttling mechanism for discarding checkpoints. The way it is implemented is that once a checkpoint is discarded it can trigger another action. This is triggering another checkpoint in the CheckpointCoordinator. The problem is now that we don't properly handle the case when the CheckpointCoordinator has been stopped in the meantime (e.g. if the job has reached a terminal state). That's why we see this RejectedExecutionException which fails the job. This is definitely a bug and I have created this issue [2] for fixing it. I am also pulling in Roman who worked on this feature. Cheers, Till On Wed, Jan 13, 2021 at 7:30 PM Kelly Smith <[hidden email]> wrote:
|
I think you're right Till, this is the problem. In fact, I opened a duplicating jira ticket in parallel :) I hope we can fix it in the next version of 1.12. Regards,
Roman On Fri, Jan 15, 2021 at 2:09 PM Till Rohrmann <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |