If you want to exploit properly the 8 nodes of your cluster, you should use ~ 2 times that number for partitioning.
You can specify the number of partitions when calling parallelize, as following: JavaRDD<Point> pnts = sc.parallelize(points, 16); -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-make-my-spark-implementation-parallel-tp23804p23808.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