airflow-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Riccomini <criccom...@apache.org>
Subject Re: 'shutdown' state?
Date Fri, 06 May 2016 23:09:46 GMT
@Lance, mind opening a JIRA? Would be a good newb ticket.

On Fri, May 6, 2016 at 4:07 PM, Lance Norskog <lance.norskog@gmail.com>
wrote:

> Thanks!
>
> I ask here because the Search box on pythonhosted's Airflow docs has no
> hits for 'shutdown'.
>
> A sequence diagram and detailed explanation of each state would be useful
> documentation :)
>
> Cheers,
>
> Lance Norskog
>
>
> On Fri, May 6, 2016 at 3:40 PM, Maxime Beauchemin <
> maximebeauchemin@gmail.com> wrote:
>
> > 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
> > > >
> > >
> >
>
>
>
> --
> Lance Norskog
> lance.norskog@gmail.com
> Redwood City, CA
>

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