spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From witgo <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-1930] The Container is running beyond p...
Date Thu, 12 Jun 2014 13:12:46 GMT
Github user witgo commented on a diff in the pull request:

    https://github.com/apache/spark/pull/894#discussion_r13700124
  
    --- 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 --
    
    Hey,  @tgravescs , I'm not familiar with English, you can help me write the docs? 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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message