Closed lxlenovostar closed 7 years ago
Spark's coalesce() is used to control partitioning and parallelism
In Spark API, we can observe:
public JavaRDD
Also, please look at here: http://stackoverflow.com/questions/31610971/spark-repartition-vs-coalesce
Thanks, best regards, Mahmoud Parsian
hi, I notice you just use coalesce() in Top10NonUnique.java not in Top10.java. This is Why?
hank you for the reply.