Starting, Stopping, and Restarting Airflow Services

This topic describes how to start, stop, and restart Airflow services on HPE Ezmeral Data Fabric.

About this task

The Warden daemon starts the Airflow server (airflow-webserver and airflow-scheduler) automatically at installation time.

You can start and stop Airflow from the command line or from the Control System. You can use the maprcli node services command to start Airflow on multiple nodes at one time.

Perform the following steps to start or stop or restart Airflow from the command line:

Procedure

  1. Make a list of nodes on which Airflow is configured.
  2. Run the maprcli node services command with either start, restart, or stop, and specify the nodes on which Airflow is configured, separated by spaces.
    maprcli node services -name airflow-webserver  -action start|stop|restart -nodes <nodes list> 
    maprcli node services -name airflow-scheduler -action start|stop|restart -nodes <nodes list>