It's a poison pill, basically the task instance polls at its own state to
look for a shutdown state and kills itself if it sees it. It will then
proceed to send alert emails if any are set up, run the operator's
`on_kill` method and set its own state to failed.

Max

On Fri, May 6, 2016 at 3:01 PM, Jeremiah Lowin <[email protected]> wrote:

> Tasks (and jobs) are put in that state if you clear them
> (clear_task_instances() or “airflow clear”) while they’re running.
>
> Jeremiah
>
> On Fri, May 6, 2016 at 5:59 PM Lance Norskog <[email protected]>
> wrote:
>
> > What is the 'shutdown' (blue rim) state? How does a task get to that
> state?
> >
> > --
> > Lance Norskog
> > [email protected]
> > Redwood City, CA
> >
>

Reply via email to