airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxime Beauchemin <maximebeauche...@gmail.com>
Subject Re: 'shutdown' state?
Date Fri, 06 May 2016 22:40:30 GMT
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 <jlowin@apache.org> 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 <lance.norskog@gmail.com>
> wrote:
>
> > What is the 'shutdown' (blue rim) state? How does a task get to that
> state?
> >
> > --
> > Lance Norskog
> > lance.norskog@gmail.com
> > Redwood City, CA
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message