Pre-Upgrade Steps for Airflow
Complete the following steps before you upgrade Airflow with or without the Installer.
About this task
Procedure
-
Stop the
airflow-scheduler
andairflow-webserver
services if they are installed:maprcli node services -name airflow-webserver -action stop -nodes <nodes list> maprcli node services -name airflow-scheduler -action stop -nodes <nodes list>
-
If necessary, back up the Airflow configuration file. If you made configuration
changes that you want to carry over to the next version, you must back up the
configuration file. Typically, the following configuration file contains
changes:
<airflow_home>/conf/airflow.cfg
-
Back up the
/dags
directory if it is present under the<airflow_home>
directory. To back up the/dags
directory, copy the directory to a location outside the<airflow_home>
directory. After upgrading, you can reapply changes to the updated Airflow installation using the backup.For more information about upgrading Airflow, see: