- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Container metrics do not match between spark UI and YARN resourcemanager UI
- Labels:
-
Apache Spark
-
Apache YARN
-
Apache Zeppelin
Created ‎08-09-2018 06:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am tuning a spark application and noticed there are discrepancies between the job's metrics shown on Spark's history server UI and YARN's resource manager UI.
I've specified the the following properties on my Zeppelin Notebook's spark interpreter:
master | yarn-client |
spark.app.name | Zeppelin |
spark.cores.max | |
spark.driver.memory | 3g |
spark.executor.cores | 3 |
spark.executor.instances | 2 |
spark.executor.memory | 4g |
When I look at the YARN ResourceManager UI I do not see evidence that the executor's containers are getting 3 cores each. I see that they each are using 1 v-core each.
Yet, when I check the Spark History Server... it describes each running executor has 3 cores and reflects all the properties I've specified.
What's up with this? Which of these should I be looking at?
YARN 3.1.0 Zeppelin 0.8.0 Spark2 2.3.1
Created ‎08-09-2018 08:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Matt Krueger you should look at spark history server/spark ui to see the correct environment settings being used. Setting executor cores to 3 is actually going to use 3 concurrent threads in each executor. AFAIK this might not be same as yarn v-core concept.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
Created ‎08-09-2018 08:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Matt Krueger you should look at spark history server/spark ui to see the correct environment settings being used. Setting executor cores to 3 is actually going to use 3 concurrent threads in each executor. AFAIK this might not be same as yarn v-core concept.
HTH
*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.
