Github user mridulm commented on a diff in the pull request:
https://github.com/apache/spark/pull/894#discussion_r13471878
--- Diff:
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala ---
@@ -65,6 +65,18 @@ trait ClientBase extends Logging {
val APP_FILE_PERMISSION: FsPermission =
FsPermission.createImmutable(Integer.parseInt("644", 8).toShort)
+ // Additional memory overhead - in mb.
+ protected def memoryOverhead: Int = {
+ var defaultMemoryOverhead = (args.amMemory * 0.25D).ceil.toInt
--- End diff --
We would need to modify this too.
I had merged this PR locally and it resulted in huge overhead being
computed - resulting in job failures due to master running out of memory.
---
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.
---