tnachen commented on a change in pull request #30739:
URL: https://github.com/apache/spark/pull/30739#discussion_r541833752



##########
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:
       Looks like the actual description here is ->
   1. DRIVER_MEMORY_OVERHEAD if set
   2. max of MEMORY_OVERHEAD_MINIMUM or 0.1 * driver memory




----------------------------------------------------------------
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]

Reply via email to