Skip to content

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) (for spark:// and local-cluster master 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:

Back to top