The issue is resolved now. I figured out that I wasn't aware of a hard coding
of the spark master parameter as local[4] in the program code which was
causing the parallel executions despite me trying to limit cores and
executors from command line options. Its a revelation for me that program
arguments set from the source code take precedence over the command line
arguments passed with spark-submit.

Anyways, thanks to everyone who responded.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Restricting-number-of-cores-not-resulting-in-reduction-in-parallelism-tp26319p26342.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to