Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Sets the Spark master URL to connect to, such as "local" to run locally, "local[4]" to run locally with 4 cores, or "spark://master:7077" to run on a Spark standalone cluster.
Syntax
master(master)
Parameters
| Parameter | Type | Description |
|---|---|---|
master |
str | A URL for the Spark master. |
Returns
SparkSession.Builder
Examples
SparkSession.builder.master("local")