}
private RangePartitioner prepPartitioner(int numSubBins) {
JobContext job = new JobContext(new Configuration(), new JobID());
RangePartitioner.setNumSubBins(job, numSubBins);
RangePartitioner rp = new RangePartitioner();
rp.setConf(job.getConfiguration());
return rp;
}