VindhyaG commented on code in PR #53383:
URL: https://github.com/apache/spark/pull/53383#discussion_r2845968844
##########
core/src/main/scala/org/apache/spark/status/AppStatusListener.scala:
##########
@@ -884,7 +884,11 @@ private[spark] class AppStatusListener(
exec.hostPort = event.blockManagerId.hostPort
event.maxOnHeapMem.foreach { _ =>
exec.totalOnHeap = event.maxOnHeapMem.get
- exec.totalOffHeap = event.maxOffHeapMem.get
+ if (event.blockManagerId.executorId == SparkContext.DRIVER_IDENTIFIER) {
+ exec.totalOffHeap = 0
Review Comment:
@holdenk The reference I took from
https://spark.apache.org/docs/latest/configuration.html mentions only executor.
@qiaojizhen can you please confirm again?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]