Yeah, clearing will reschedule I'd have thought

We had a use case for this feature and got there by writing a basic plugin that 
calls 
https://github.com/apache/incubator-airflow/blob/master/airflow/models.py#L106

-----Original Message-----
From: Vishal Doshi [mailto:[email protected]]
Sent: Tuesday, November 01, 2016 4:14 PM
To: [email protected]
Subject: Re: Killing DAGs

Our dags are triggered manually. Clearing the state alone will end up with the 
cleared tasks being rescheduled, I think?

Thanks,
Vishal

On 11/1/16, 12:11, "Bolke de Bruin" <[email protected]> wrote:

    Clearing the state of the task, kills it. So the feature is already in, but 
maybe not so clearly.

    > Op 1 nov. 2016, om 17:09 heeft Ben Tallman <[email protected]> het 
volgende geschreven:
    >
    > I vote for this feature! Preferably a polite and a NOW option.
    >
    > Thanks,
    > Ben
    >
    > --
    > Ben Tallman - 503.680.5709
    >
    > On Tue, Nov 1, 2016 at 9:08 AM, Vishal Doshi <[email protected]> wrote:
    >
    >> I haven’t been able to find anything on this in the code / docs. Is there
    >> a supported way to kill a DAG (and its still running tasks)?
    >>





Please note this email message has been sent to you by a third-party contractor 
or consultant engaged by RenaissanceRe Services Ltd. or one of its affiliates 
(collectively "the Company"). Please note this party has no authority to bind 
the Company in any respect, contractually or otherwise. For your protection, 
you should only ever accept instructions which would bind the Company from a 
direct employee of the Company. Third-party contractors or consultants are not 
granted such authority.

Reply via email to