关注 spark技术分享,
撸spark源码 玩spark最佳实践

ExecutorBackend — Pluggable Executor Backends

ExecutorBackend — Pluggable Executor Backends

ExecutorBackend is a pluggable interface that TaskRunners use to send task status updates to a scheduler.

executorbackend.png
Figure 1. ExecutorBackend receives notifications from TaskRunners
Note
TaskRunner manages a single individual task and is managed by an Executor to launch a task.
Caution
FIXME What is “a scheduler” in this context?

It is effectively a bridge between the driver and an executor, i.e. there are two endpoints running.

There are three concrete executor backends:

ExecutorBackend Contract

Note
ExecutorBackend is a private[spark] contract.
Table 1. ExecutorBackend Contract
Method Description

statusUpdate

Used when TaskRunner is requested to run a task (to send task status updates).

赞(0) 打赏
未经允许不得转载:spark技术分享 » ExecutorBackend — Pluggable Executor Backends
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏