SparkConf.SetMaster(String) Method

Definition

The master URL to connect to, such as "local" to run locally with one thread, "local[4]" to run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster.

public Microsoft.Spark.SparkConf SetMaster (string master);
member this.SetMaster : string -> Microsoft.Spark.SparkConf
Public Function SetMaster (master As String) As SparkConf

Parameters

master
String

Spark master

Returns

Applies to