Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/894#discussion_r13675168
--- Diff:
yarn/alpha/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocationHandler.scala
---
@@ -88,6 +88,18 @@ private[yarn] class YarnAllocationHandler(
// Containers to be released in next request to RM
private val pendingReleaseContainers = new
ConcurrentHashMap[ContainerId, Boolean]
+ // Additional memory overhead - in mb.
+ private def memoryOverhead: Int = {
+ var defaultMemoryOverhead = YarnAllocationHandler.MEMORY_OVERHEAD
+ sparkConf.getOption("spark.yarn.container.memoryOverhead").foreach { s
=>
--- End diff --
can you update the docs with the new configs. Is the intent for
container.memoryOverhead to apply to everything, but if you want to specify
them individually then you use executor.memoryOver and driver.memoryOverhead or
is it for something else?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---