Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/11603#discussion_r55570509
--- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/config.scala ---
@@ -177,14 +177,26 @@ package object config {
private[spark] val DRIVER_CORES = ConfigBuilder("spark.driver.cores")
.intConf
- .optional
+ .withDefault(1)
private[spark] val DRIVER_MEMORY_OVERHEAD =
ConfigBuilder("spark.yarn.driver.memoryOverhead")
.bytesConf(ByteUnit.MiB)
.optional
+ private[spark] val DRIVER_MEMORY = ConfigBuilder("spark.driver.memory")
--- End diff --
This is a core config, so should be declared in
`core/src/main/scala/org/apache/spark/internal/config/package.scala` instead.
Same for `EXECUTOR_MEMORY`, `PY_FILES`, and probably also `EXECUTOR_CORES`,
although not completely sure about that last one.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]