public static List<CompositeInputSplit> getCombinedCompositeSplits(
List<InputSplit> oneInputSplits, long maxCombinedSplitSize, Configuration conf)
throws IOException, InterruptedException {
List<CompositeInputSplit> compositeInputSplits = new ArrayList<CompositeInputSplit>(oneInputSplits.size());
for (List<InputSplit> inputSplits : getCombinedSplits(oneInputSplits, maxCombinedSplitSize, conf)) {
compositeInputSplits.add(new CompositeInputSplit(inputSplits));
}
return compositeInputSplits;
}