How do I restart airflow webserver?

后端 未结 9 1611
误落风尘
误落风尘 2021-01-30 12:59

I am using airflow for my data pipeline project. I have configured my project in airflow and start the airflow server as a backend process using following command



        
9条回答
  •  春和景丽
    2021-01-30 13:43

    Can you check $AIRFLOW_HOME/airflow-webserver.pid for the process id of your webserver daemon?

    Then pass it a kill signal to kill it

    cat $AIRFLOW_HOME/airflow-webserver.pid | xargs kill -9
    

    Then just run

    airflow webserver -p 8080 -D True
    

    to restart the daemon

提交回复
热议问题