Github user witgo commented on a diff in the pull request:

    https://github.com/apache/spark/pull/894#discussion_r13752934
  
    --- 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 --
    
    Leaving only two configs is a good idea.I need your help to write the 
document.Thank you very much.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to