使用命令提示符杀死Spark作业 [英] Killing Spark job using command Prompt
本文介绍了使用命令提示符杀死Spark作业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
从终端杀死火花作业的命令是什么. 我不想通过Spark UI终止正在运行的Spark作业
What is the command to kill spark job from terminal. I don't want to kill a running spark job via spark UI
推荐答案
如果您在纱线上运行,请使用
If you are running on yarn use
yarn application -kill applicationID
从WEB UI获取应用程序ID或使用yarn application -list
Get application id from WEB UI or list with yarn application -list
./bin/spark-class org.apache.spark.deploy.Client kill <master url> <driver ID>
或者您可以通过命令jps
查找spark-submit
id并终止进程,但这不是建议的方法
or you can look the spark-submit
id by the command jps
and kill the process but this is not the suggested way
这篇关于使用命令提示符杀死Spark作业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文