https://prefect.io logo
k

Kostas Chalikias

12/07/2020, 10:26 AM
Hello team, is it still not possible to kill a running task/flow from the cloud UI?
j

Jim Crist-Harif

12/07/2020, 2:29 PM
No, that should work fine. Use the cancel button in the upper right corner of the flow run page.
Depending on what executor you're using, the flow might wait for any currently running tasks to finish, or it might terminate them immediately. No new tasks should start after cancelling a flow run, regardless of executor.
k

Kostas Chalikias

12/07/2020, 3:45 PM
Thanks @Jim Crist-Harif! We use the local executor, how can I know how each one behaves?
j

Jim Crist-Harif

12/07/2020, 3:47 PM
I need to write a doc page on this, I'll add that to the todo list. In short, everything except the
DaskExecutor
with an external cluster (if you pass in an
address
) should cancel immediately. External dask clusters will wait on all pending tasks (but not submit new ones), since there's not an easy way to cancel an executing task in this configuration.
k

Kostas Chalikias

12/07/2020, 3:55 PM
Awesome, thanks again
2 Views