yarn队列kill命令使用
1、单独杀掉指定任务
2、杀掉全部ACCEPTED 任务
for i in ' yarn application -list | grep -w ACCEPTED | awk '{print $1}' | grep application_';do yarn application -kill $i;done
1、单独杀掉指定任务
2、杀掉全部ACCEPTED 任务
for i in ' yarn application -list | grep -w ACCEPTED | awk '{print $1}' | grep application_';do yarn application -kill $i;done