Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20761#discussion_r220021145
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
---
@@ -86,6 +86,13 @@ private[spark] class Client(
sparkConf.get(AM_CORES)
}
+ private val amResources =
--- End diff --
This is only used in `createApplicationSubmissionContext`. It can be
initialized there instead of stored as an instance field.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]