hussein-awala commented on issue #31198: URL: https://github.com/apache/airflow/issues/31198#issuecomment-1553604085
When the `SchedulerJob` is no longer running, we reset queued and scheduled TI that were enqueued by this `SchedulerJob`, but we don't do that for the running tasks. In your case, the `SchedulerJob` is considered as dead because of missing heartbeat, but it is still alive and it can schedule the job and create the executor to run the task. However, we try to adopt the task (the pod for KubernetesExecutor) before deleting it, and since it is deleted in your case, I think there is an exception raised in the adoption method. Can your provide the other schedulers logs if you have multiple schedulers running or the log of the new scheduler if you have a single running scheduler? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
