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?
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?