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,但沒有任何影響。
任何幫助表示讚賞。謝謝!
您是否嘗試過使用類似 PS -ef殺滅與氣流一切| grep airflow | awk'{print $ 2}'| xargs kill -9 – Him