aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorAndrew Or <andrewor14@gmail.com>2014-10-21 11:22:25 -0700
committerKay Ousterhout <kayousterhout@gmail.com>2014-10-21 11:22:25 -0700
commit61ca7742d21dd66f5a7b3bb826e3aaca6f049b68 (patch)
treed390f5b1fe0b8d4f278698fcd71bfe615272770b /mllib
parentc262cd5ddce75333ec936e90b81278c3992841ec (diff)
downloadspark-61ca7742d21dd66f5a7b3bb826e3aaca6f049b68.tar.gz
spark-61ca7742d21dd66f5a7b3bb826e3aaca6f049b68.tar.bz2
spark-61ca7742d21dd66f5a7b3bb826e3aaca6f049b68.zip
[SPARK-4020] Do not rely on timeouts to remove failed block managers
If an executor fails without being scheduled to run any tasks, then `DAGScheduler` won't notify `BlockManagerMasterActor` that the associated block manager should be removed. Instead, the associated block manager will be expired only after a few rounds of heartbeat timeouts. In terms of removal treatment, there should really be no distinction between executors that have been scheduled tasks and those that have not. The fix, then, is to add all known executors to `TaskSchedulerImpl`'s `activeExecutorIds` whether or not it has been scheduled a task. In fact, the existing comment above `activeExecutorIds` is ``` // Which executor IDs we have executors on val activeExecutorIds = new HashSet[String] ``` not "Which executors have been scheduled tasks thus far." Author: Andrew Or <andrewor14@gmail.com> Closes #2865 from andrewor14/active-executors and squashes the following commits: ff3172b [Andrew Or] Add all known executors to `activeExecutorIds`
Diffstat (limited to 'mllib')
0 files changed, 0 insertions, 0 deletions