You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SPARK-37819][K8S] Add OUTLIER executor roll policy and use it by default (apache#1323)
### What changes were proposed in this pull request?
This PR aims to add a new executor roll policy, `OUTLIER`, which aims to detect various outliers first, and use it by default.
If there is no outlier, it will work like `TOTAL_DURATION` policy.
### Why are the changes needed?
The users can use `OUTLIER` policy to consider the outliers in terms of multiple dimensions.
In addition, this will be a better default policy.
### Does this PR introduce _any_ user-facing change?
No. This is a new feature in Apache Spark 3.3.
### How was this patch tested?
Pass the CIs with the newly added test cases.
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/main/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorRollPlugin.scala
Copy file name to clipboardExpand all lines: resource-managers/kubernetes/core/src/test/scala/org/apache/spark/scheduler/cluster/k8s/ExecutorRollPluginSuite.scala
+61-7Lines changed: 61 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ class ExecutorRollPluginSuite extends SparkFunSuite with PrivateMethodTester {
0 commit comments