StandaloneSchedulerBackend¶
StandaloneSchedulerBackend
is a CoarseGrainedSchedulerBackend.
Creating Instance¶
StandaloneSchedulerBackend
takes the following to be created:
- TaskSchedulerImpl
- SparkContext
- Standalone master URLs
StandaloneSchedulerBackend
is created when:
SparkContext
is requested for a SchedulerBackend and TaskScheduler (forspark://
andlocal-cluster
master URLs)
StandaloneAppClientListener¶
StandaloneSchedulerBackend
is a StandaloneAppClientListener.
Starting SchedulerBackend¶
start(): Unit
start
is part of the SchedulerBackend abstraction.
start
...FIXME
start
creates a StandaloneAppClient and requests it to start.
start
...FIXME
executorDecommissioned¶
executorDecommissioned(
fullId: String,
decommissionInfo: ExecutorDecommissionInfo): Unit
executorDecommissioned
is part of the StandaloneAppClientListener abstraction.
executorDecommissioned
...FIXME
StandaloneAppClient¶
StandaloneSchedulerBackend
creates a StandaloneAppClient (with itself as a StandaloneAppClientListener) when requested to start.
StandaloneAppClient
is started with StandaloneSchedulerBackend.
StandaloneAppClient
is stopped with StandaloneSchedulerBackend.
StandaloneAppClient
is used for the following: