What does this mean in .setMaster("local[2]")

Is this applicable only for standalone Mode?

Can I do this in a cluster setup, eg:
. setMaster("<hostname:port>[2]")..

Is it number of threads per worker node?

Reply via email to