How to Speed Up Spark Jobs on Small Test Datasets

Link

Repartition vs Coalesce

link