Allow SparkContext.submitJob to submit a job for only a subset of the partitions.