potiuk commented on a change in pull request #5200: [AIRFLOW-4401] Use managers
for Queue synchronization
URL: https://github.com/apache/airflow/pull/5200#discussion_r279615263
##########
File path: airflow/contrib/executors/kubernetes_executor.py
##########
@@ -769,3 +793,7 @@ def _change_state(self, key, state, pod_id):
def end(self):
self.log.info('Shutting down Kubernetes executor')
self.task_queue.join()
Review comment:
I think we had problem here before. task_queue.join() was used but
task_done() never called., so I think we could have some hangs when trying to
stop gracefully KubernetesScheduler.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services