So, for an optimal usage of my cluster CPU, I would like to have my partitions processed roughly in the order given by MyPartitioner.getPartition(key). I know they are processed in parallel and their processing order cannot be fully controlled but at least can I control the order in which the driver submits tasks to the executors ?
Something like :
task 0 - process partition 0
task 1 - process partition 1
...
task n - process partition n