You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Timur Abakumov (JIRA)" <ji...@apache.org> on 2017/04/01 14:47:42 UTC
[jira] [Reopened] (SPARK-19755) Blacklist is always active for
MesosCoarseGrainedSchedulerBackend. As result - scheduler cannot create an
executor after some time.
[ https://issues.apache.org/jira/browse/SPARK-19755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timur Abakumov reopened SPARK-19755:
------------------------------------
You are right - configuration parameter exists.
But from what I can see - MesosCoarseGrainedSchedulerBackend.scala does not use it.
It uses hard coded MAX_SLAVE_FAILURES = 2.
if I missed something - please explain it.
I have fixed it for my company and can create pull request and assign it to you.
> Blacklist is always active for MesosCoarseGrainedSchedulerBackend. As result - scheduler cannot create an executor after some time.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-19755
> URL: https://issues.apache.org/jira/browse/SPARK-19755
> Project: Spark
> Issue Type: Bug
> Components: Mesos, Scheduler
> Affects Versions: 2.1.0
> Environment: mesos, marathon, docker - driver and executors are dockerized.
> Reporter: Timur Abakumov
>
> When for some reason task fails - MesosCoarseGrainedSchedulerBackend increased failure counter for a slave where that task was running.
> When counter is >=2 (MAX_SLAVE_FAILURES) mesos slave is excluded.
> Over time scheduler cannot create a new executor - every slave is is in the blacklist. Task failure not necessary related to host health- especially for long running stream apps.
> If accepted as a bug: possible solution is to use: spark.blacklist.enabled to make that functionality optional and if it make sense MAX_SLAVE_FAILURES also can be configurable.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org