Github user skonto commented on a diff in the pull request:
https://github.com/apache/spark/pull/17619#discussion_r169450317
--- Diff:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala
---
@@ -484,7 +481,6 @@ private[spark] class MesosCoarseGrainedSchedulerBackend(
cpus + totalCoresAcquired <= maxCores &&
mem <= offerMem &&
numExecutors() < executorLimit &&
- slaves.get(slaveId).map(_.taskFailures).getOrElse(0) <
MAX_SLAVE_FAILURES &&
--- End diff --
@squito regarding 3. That part of code launches aggressively tasks on
matched offers.
The remainder of the offer is implicitly declined
https://mail-archives.apache.org/mod_mbox/mesos-user/201507.mbox/%[email protected]%3E
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]