dmcwhorter commented on a change in pull request #30739:
URL: https://github.com/apache/spark/pull/30739#discussion_r543533480
##########
File path:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala
##########
@@ -405,6 +405,20 @@ trait MesosSchedulerUtils extends Logging {
sc.executorMemory
}
+ /**
+ * Return the amount of memory to allocate to each driver, taking into
account
+ * container overheads.
+ *
+ * @param driverDesc used to get driver memory
+ * @return memory requirement as (0.1 * memoryOverhead) or
MEMORY_OVERHEAD_MINIMUM
+ * (whichever is larger)
Review comment:
Yes that's right, updated this comment.
##########
File path:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosSchedulerUtils.scala
##########
@@ -405,6 +405,20 @@ trait MesosSchedulerUtils extends Logging {
sc.executorMemory
}
+ /**
+ * Return the amount of memory to allocate to each driver, taking into
account
+ * container overheads.
+ *
+ * @param driverDesc used to get driver memory
+ * @return memory requirement as (0.1 * memoryOverhead) or
MEMORY_OVERHEAD_MINIMUM
Review comment:
Yes, that's right. Updated this comment.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]