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
{{ message }}
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
DCOS-57560: Suppress/revive support for Mesos (#67)
DCOS-57560: Suppress/revive support for Mesos
- Suppresses Mesos offers when the executor cap is reached (dynamic allocation enabled)
- Reviving Mesos offers when the executor cap is increased (dynamic allocation enabled)
- Suppresses Mesos offers when max core number is utilized.
- Doesn't revive if a task finished successfully
- Periodically revives Mesos offers if needed using "spark.mesos.scheduler.revive.interval"
Copy file name to clipboardExpand all lines: resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
Copy file name to clipboardExpand all lines: resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala
Copy file name to clipboardExpand all lines: resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterSchedulerSuite.scala
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -593,6 +593,7 @@ class MesosClusterSchedulerSuite extends SparkFunSuite with LocalSparkContext wi
593
593
594
594
// Offer new resource to retry driver on a new agent
Copy file name to clipboardExpand all lines: resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
+84Lines changed: 84 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -339,6 +339,90 @@ class MesosCoarseGrainedSchedulerBackendSuite extends SparkFunSuite
339
339
assert(taskInfos.length ==2)
340
340
}
341
341
342
+
test("scheduler backend suppresses mesos offers when max core count reached") {
0 commit comments