Also I think you could go to Browse > Task Instances (in the Webserver ui) and trash the task, but I haven't tried it on a running task yet.
Maxime Beauchemin
unread,
Oct 12, 2015, 11:57:55 PM10/12/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Airflow
Note that all task instance run in a subprocess, and that the parent process sends a periodical heartbeat to the database (checkout the Job model) and listens for kill signals at that time (looking at their own state for a 'shutdown' state). Kill signals are currently only emitted when running tasks are cleared (through the CLI or the UI). When that occurs, the on_kill method of the operator is called (if any) before it sets the state from shutdown to failed, and raises.