We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e16f190 commit e3c531dCopy full SHA for e3c531d
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala
@@ -67,7 +67,7 @@ trait ClientBase extends Logging {
67
68
// Additional memory overhead - in mb.
69
protected def memoryOverhead: Int = {
70
- var defaultMemoryOverhead = (args.amMemory * 0.25D).ceil.toInt
+ var defaultMemoryOverhead = YarnAllocationHandler.MEMORY_OVERHEAD
71
sparkConf.getOption("spark.yarn.container.memoryOverhead").foreach { s =>
72
defaultMemoryOverhead = s.toInt
73
}
0 commit comments