What does setMaster `local[*]` mean in spark?

[*]

From the doc:

./bin/spark-shell --master local[2]

The --master option specifies the master URL for a distributed
cluster, or local to run locally with one thread, or local[N] to run
locally with N threads. You should start by using local for testing.

And from here:

local[*] Run Spark locally with as many worker threads as logical
cores on your machine.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)