You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/01/06 06:51:25 UTC
[GitHub] [spark] viirya commented on a change in pull request #35114: [SPARK-37824][DOCS] Document K8s executor rolling configurations
viirya commented on a change in pull request #35114:
URL: https://github.com/apache/spark/pull/35114#discussion_r779333943
##########
File path: docs/running-on-kubernetes.md
##########
@@ -1486,7 +1486,46 @@ See the [configuration page](configuration.html) for information on Spark config
</td>
<td>3.3.0</td>
</tr>
-
+<tr>
+ <td><code>spark.kubernetes.executor.rollInterval</code></td>
+ <td><code>0s</code></td>
+ <td>
+ Interval between executor roll operations. It's disabled by default with `0s`.
+ </td>
+ <td>3.3.0</td>
+</tr>
+<tr>
+ <td><code>spark.kubernetes.executor.minTasksPerExecutorBeforeRolling</code></td>
+ <td><code>0</code></td>
+ <td>
+ The minimum number of tasks per executor before rolling.
+ Spark will not roll executors whose total number of tasks is smaller
+ than this configuration. The default value is zero.
+ </td>
+ <td>3.3.0</td>
+</tr>
+<tr>
+ <td><code>spark.kubernetes.executor.rollPolicy</code></td>
+ <td><code>OUTLIER</code></td>
+ <td>
+ Executor roll policy: Valid values are ID, ADD_TIME, TOTAL_GC_TIME,
+ TOTAL_DURATION, FAILED_TASKS, and OUTLIER (default).
+ When executor roll happens, Spark uses this policy to choose
+ an executor and decommission it. The built-in policies are based on executor summary
+ and newly started executors are protected by spark.kubernetes.executor.minTasksPerExecutorBeforeRolling.
+ ID policy chooses an executor with the smallest executor ID.
+ ADD_TIME policy chooses an executor with the smallest add-time.
Review comment:
what's add-time?
--
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: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org