Github user lianhuiwang commented on a diff in the pull request:
https://github.com/apache/spark/pull/636#discussion_r12464105
--- Diff:
core/src/main/scala/org/apache/spark/deploy/ApplicationDescription.scala ---
@@ -28,6 +28,7 @@ private[spark] class ApplicationDescription(
extends Serializable {
val user = System.getProperty("user.name", "<unknown>")
-
+ // only valid when spark.executor.multiPerWorker is set to true
+ var maxCorePerExecutor = maxCores
--- End diff --
i think in var maxCorePerExecutor = maxCores the two variables are
different. maxCores is total core's value of a application. but
maxCorePerExecutor is cores of per executor. in schedule() app's
leftCoreToAssign come from maxCores value.so two variables cannot be equal.
---
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.
---