Airflow Basics
DAG Management
Starting DAG
- Log in to Airflow web page
- Find line of DAG that you want to start
- On right side of line are several buttons. Click the Play button.
- Click OK on the Confirmation Popup window.
Stopping DAG
- Click on the DAG name you want to stop. The DAG Detail page will appear in Tree View.
- Click the circle of the DAG instance you want to stop. Most likely, the circle will be bright green.
- On the popup window, click Mark Failed then click Close.
- It may take up to 1 minute for the DAG to completely stop.
- Once stopped, the circle should become red instead of bright green in the DAG Detail Tree View
Restarting DAG
- Click on the DAG name you want to stop. The DAG Detail page will appear in Tree View.
- Click the circle of the DAG instance you want to stop. Most likely, the circle will be bright green.
- On the popup window, click Clear then click Close.
- In about 1 minute, Airflow will restart the DAG from the very beginning.
Task Management
Starting Task
Starting a task will be done automatically within the DAG using the specified execution order within the DAG.
Stopping Task
- Click on the DAG name you want to stop. The DAG Detail page will appear in Tree View.
- Click the square for the task and specific instance you want to stop. Most likely, the square will be bright green.
- On the popup window, click either Mark Failed or Mark Success then click Close.
- If selecting Mark Failed, click OK on the verification of downstream tasks to not run then click Close.
Restarting Task
- Click on the DAG name you want to stop. The DAG Detail page will appear in Tree View.
- Click the square for the task and specific instance you want to stop. Most likely, the square will be bright green.
- On the popup window, click Clear then click Close.
- Click OK on the verification of downstream tasks to clear then click Close.