splits = format.getSplits(temporaryJob);
}
assert format != null : formatAndMapper.formatClass.getName();
Class<? extends Mapper<?, ?, ?, ?>> mapper = formatAndMapper.mapperClass;
for (InputSplit split : splits) {
Source source = new Source(split, formatAndMapper.formatClass);
StageInputSplit wrapped = new StageInputSplit(mapper, Collections.singletonList(source));
wrapped.setConf(context.getConfiguration());
results.add(wrapped);
}
}