StandaloneSchedulerBackend¶
StandaloneSchedulerBackend is a CoarseGrainedSchedulerBackend.
Creating Instance¶
StandaloneSchedulerBackend takes the following to be created:
-
TaskSchedulerImpl -
SparkContext - Standalone master URLs
StandaloneSchedulerBackend is created when:
SparkContextis requested for aSchedulerBackend(andTaskScheduler) (forspark://andlocal-clustermaster URLs)
StandaloneAppClientListener¶
StandaloneSchedulerBackend is a StandaloneAppClientListener.
Starting SchedulerBackend¶
start(): Unit
start...FIXME
start creates a StandaloneAppClient and requests it to start.
start...FIXME
start is part of the SchedulerBackend abstraction.
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: