How to know whether Spark is running in standalone mode or running on Yarn?

故事扮演 提交于 2021-02-07 07:57:21

问题


In my cluster sever, Spark is already being deployed. (Someone has set ip up and left quite a long time ago)

I want to know whether Spark is running in standalone mode or running on Yarn.

How can I check it?


回答1:


If you have access to the Spark UI - navigate to the "Environment" tab and search for "master" configuration:

If it says yarn - it's running on YARN... if it shows a URL of the form spark://... it's a standalone cluster.



来源:https://stackoverflow.com/questions/41712743/how-to-know-whether-spark-is-running-in-standalone-mode-or-running-on-yarn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!