Github user tgravescs commented on a diff in the pull request: https://github.com/apache/spark/pull/19881#discussion_r179760871 --- Diff: core/src/main/scala/org/apache/spark/ExecutorAllocationManager.scala --- @@ -116,9 +120,12 @@ private[spark] class ExecutorAllocationManager( // TODO: The default value of 1 for spark.executor.cores works right now because dynamic // allocation is only supported for YARN and the default number of cores per executor in YARN is // 1, but it might need to be attained differently for different cluster managers - private val tasksPerExecutor = + private val tasksPerExecutorForFullParallelism = conf.getInt("spark.executor.cores", 1) / conf.getInt("spark.task.cpus", 1) + private val fullExecutorAllocationDivisor = + conf.getDouble("spark.dynamicAllocation.fullExecutorAllocationDivisor", 1.0) --- End diff -- forgot about this earlier but this should really be a config similar to DYN_ALLOCATION_MIN_EXECUTORS
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org