sunchao commented on a change in pull request #35096:
URL: https://github.com/apache/spark/pull/35096#discussion_r778267912
##########
File path:
resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/k8s/Config.scala
##########
@@ -168,6 +168,16 @@ private[spark] object Config extends Logging {
.checkValues(ExecutorRollPolicy.values.map(_.toString))
.createWithDefault(ExecutorRollPolicy.TOTAL_GC_TIME.toString)
+ val MINIMUM_TASKS_PER_EXECUTOR_BEFORE_ROLLING =
+ ConfigBuilder("spark.kubernetes.executor.minTasksPerExecutorBeforeRolling")
+ .doc("The minimum number of tasks per executor before rolling. " +
+ "Spark will not roll newly created executors whose total number of
tasks is smaller" +
Review comment:
nit: space at the end, also do we have to mention "newly created" here?
what about "Spark will not roll executors whose total number of tasks is
smaller"
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]