2017-06-22 110 views
1

我是新来的气流和意外启动的守护程序模式下的气流调度程序。现在,我想杀死调度器并可能重新启动它。我试着做如何停止/杀死在守护进程模式下启动的气流调度程序

sudo kill -9 <list of pids> 
    pkill <name> 

什么都没发生。当我运行

ps aux | grep 'airflow scheduler' 

我看到这些项:

user1 2907 6.0 1.0 329788 62996 ?  Sl 17:37 1:26 /users/user1/anaconda2/bin/python /users/user1/anaconda2/bin/airflow scheduler -D 
    user1 2909 0.0 0.9 327576 58948 ?  Sl 17:37 0:00 /users/user1/anaconda2/bin/python /users/user1/anaconda2/bin/airflow scheduler -D 
    user1 2910 0.0 0.9 327576 58944 ?  Sl 17:37 0:00 /users/user1/anaconda2/bin/python /users/user1/anaconda2/bin/airflow scheduler -D 
    user1 2911 0.0 0.9 327576 58944 ?  Sl 17:37 0:00 /users/user1/anaconda2/bin/python /users/user1/anaconda2/bin/airflow scheduler -D 

...等35行不同的PID。

有关如何在不重新启动机器的情况下停止/关闭气流调度程序的任何建议。我也检查了调度程序的pid文件,并试图杀死该pid,但没有任何影响。

任何帮助表示赞赏。谢谢!

+2

您是否尝试过使用类似 PS -ef杀灭与气流一切| grep airflow | awk'{print $ 2}'| xargs kill -9 – Him

回答

相关问题