airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Commented] (AIRFLOW-5608) Scheduler not shutting down executor(s) gracefully
Date Thu, 17 Oct 2019 13:33:00 GMT


ASF GitHub Bot commented on AIRFLOW-5608:

ashb commented on pull request #6357: Revert "AIRFLOW-5608: Fix bug in SchedulerJob when calling
   Reverts apache/airflow#6274
   It caused the LocalExecutor to not shutdown when given a SIGINT with this stack trace.
   ^CTraceback (most recent call last):
     File "/Users/ash/code/python/incubator-airflow/airflow/jobs/", line 1309,
in _execute
     File "/Users/ash/code/python/incubator-airflow/airflow/jobs/", line 1435,
in _execute_helper
     File "/Users/ash/code/python/incubator-airflow/airflow/bin/", line 84, in sigint_handler
   SystemExit: 0
   During handling of the above exception, another exception occurred:
   Traceback (most recent call last):
     File "/Users/ash/.virtualenvs/airflow/bin/airflow", line 7, in <module>
       exec(compile(, __file__, 'exec'))
     File "/Users/ash/code/python/incubator-airflow/airflow/bin/airflow", line 39, in <module>
     File "/Users/ash/code/python/incubator-airflow/airflow/utils/", line 73, in wrapper
       return f(*args, **kwargs)
     File "/Users/ash/code/python/incubator-airflow/airflow/bin/", line 1124, in scheduler
     File "/Users/ash/code/python/incubator-airflow/airflow/jobs/", line 217, in
     File "/Users/ash/code/python/incubator-airflow/airflow/jobs/", line 1314,
in _execute
     File "/Users/ash/code/python/incubator-airflow/airflow/executors/",
line 229, in end
     File "/Users/ash/code/python/incubator-airflow/airflow/executors/",
line 205, in end
       self.queue.put((None, None))
     File "<string>", line 2, in put
     File "/Users/ash/.homebrew/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/",
line 796, in _callmethod
       kind, result = conn.recv()
     File "/Users/ash/.homebrew/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/",
line 250, in recv
       buf = self._recv_bytes()
     File "/Users/ash/.homebrew/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/",
line 407, in _recv_bytes
       buf = self._recv(4)
     File "/Users/ash/.homebrew/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/",
line 383, in _recv
       raise EOFError
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:

> Scheduler not shutting down executor(s) gracefully
> --------------------------------------------------
>                 Key: AIRFLOW-5608
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 1.10.5
>            Reporter: Kiran
>            Assignee: Kiran
>            Priority: Major
>             Fix For: 1.10.6
> If SIGTERM is sent to scheduler, the bug is preventing it from calling graceful shutdown
of executor(s).

This message was sent by Atlassian Jira

View raw message