The SparkContext
associated to this handle.
The SparkContext
associated to this handle.
Lazily initialized on first call.
Its config can be customized prior to its initialization through sparkConf
or with the withConf
method.
Its launch triggers the launch of a web server that serves the REPL build products.
Gets automatically stopped upon host interpreter stopping. Can also be stopped
manually with the stop
method.
If stopped through the stop
method, calling sc
again will trigger the creation
of a new SparkContext.
Called before creation of the SparkContext
to setup the SparkConf
.
The SparkConf
associated to this handle
Alias for sc
SparkSQL context associated to this handle.
SparkSQL context associated to this handle. Lazily initialized on first call.
Triggers the initialization of the SparkContext, if not already started.
Stops the SparkContext
associated to this handle.
Stops the SparkContext
associated to this handle. The context previously
returned should not be considered valid after that. The web server launched
along with the context will be stopped too.
Calling sc
again will trigger the creation of a new SparkContext
Helper function to add custom settings to the SparkConf
associated to this handle
The spark entry point from an Ammonite session