irvifa
irvifa

Reputation: 2083

Airflow Task got Shutdown Status after DAG is cleared

Hi I tried to clear my DAG, however it turned later on my task got a Shutdown Status depicted in blue state in Airflow Webserver. Is this an expected behavior? How can I avoid this after I clear my DAG?

Best!

Upvotes: 3

Views: 3111

Answers (1)

skyxie
skyxie

Reputation: 111

Airflow has only a tiny amount of documentation for this state, but the blue shutdown status happens when a task has received a shutdown command from an external source. This usually happens when the airflow worker has received a kill signal. For example, during a deploy, you might kill the running worker to load the new code.

I'm not sure what you mean by clearing your DAG (do you mean when you clear a task from the Airflow UI?), but perhaps that sent a kill signal to the worker?

Upvotes: 7

Related Questions