Github user szyszy commented on a diff in the pull request:
https://github.com/apache/spark/pull/20761#discussion_r218762120
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnAllocator.scala
---
@@ -140,10 +140,19 @@ private[yarn] class YarnAllocator(
}
// Number of cores per executor.
protected val executorCores = sparkConf.get(EXECUTOR_CORES)
- // Resource capability requested for each executors
- private[yarn] val resource = Resource.newInstance(
- executorMemory + memoryOverhead + pysparkWorkerMemory,
- executorCores)
+
+ private val executorResourceTypes: collection.immutable.Map[String,
String] =
--- End diff --
Removed the type declaration.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]