git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About how to pause the running task


I don't think we have a way to pause but we can stop the running tasks by
changing its state. Currently you can change the state of a running task in
the UI by click on the task instance and mark it success/ clear it, change
its state to failed/success in the CRUD, or clear it through the cli. I'm
currently working on adding the support (PR
<https://github.com/apache/incubator-airflow/pull/3255>) to mark a DagRun
as failed and thus it would be easier to stop all running task instances
for one DagRun.

Cheers,
Kevin Yang

On Thu, Apr 26, 2018 at 10:14 AM, Song Liu <songliu@xxxxxxxxxxx> wrote:

> Hi,
>
> A DAG is composed of many tasks, when this DAG is started, how to pause
> the current running task ?
>
> Thanks,
> Song
>