问题
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