job.getConfiguration().set(DataSetInputFormat.HCONF_ATTR_INPUT_DATASET, inputDatasetName);
}
@Override
public List<InputSplit> getSplits(final JobContext context) throws IOException, InterruptedException {
MapReduceContextConfig mrContextConfig = new MapReduceContextConfig(context);
List<Split> splits = mrContextConfig.getInputSelection();
List<InputSplit> list = new ArrayList<InputSplit>();
for (Split split : splits) {
list.add(new DataSetInputSplit(split));
}
return list;