LocalSparkCluster — Single-JVM Spark Standalone Cluster
LocalSparkCluster
is responsible for local-cluster master URL.
Note
|
local-cluster master URL matches local-cluster[numWorkers,coresPerWorker,memoryPerWorker] pattern where numWorkers, coresPerWorker and memoryPerWorker are all numbers separated by the comma.
|
LocalSparkCluster
can be particularly useful to test distributed operation and fault recovery without spinning up a lot of processes.
LocalSparkCluster
is created when SparkContext
is created for local-cluster master URL (and so requested to create the SchedulerBackend and the TaskScheduler).
Name | Description |
---|---|
|
Used when…FIXME |
|
Used when…FIXME |
|
Used when…FIXME |
Tip
|
Enable Add the following line to
Refer to Logging. |
Creating LocalSparkCluster Instance
LocalSparkCluster
takes the following when created:
LocalSparkCluster
initializes the internal registries and counters.