How do I restart airflow webserver?

后端 未结 9 1521
误落风尘
误落风尘 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 14:02

    None of these worked for me. I had to delete the $AIRFLOW_HOME/airflow-webserver.pid file and then running airflow webserver worked.

    0 讨论(0)
  • 2021-01-30 14:03

    Just run:

    airflow webserver -p 8080 -D 
    
    0 讨论(0)
  • 2021-01-30 14:05

    Create a init script and use the command "daemon" to run this as service.

    daemon --user="${USER}" --pidfile="${PID_FILE}" airflow webserver -p 8090 >> "${LOG_FILE}" 2>&1 &
    
    0 讨论(0)
提交回复
热议问题