1.杀死 application
yarn application -kill + application id
- 杀死job
hadoop job -kill + jobID
3.批量杀application
for i in yarn application -list | grep -w 填写需要筛选的任务关键字 | awk ‘{print $1}‘ | grep application_
; do yarn application -kill $i; done
4.全量杀application
for i in yarn application -list | awk ‘{print $1}‘ | grep application_
; do yarn application -kill $i; done