List<InputSplit> splits = mappings.get(minorFragmentId);
List<HivePartition> parts = Lists.newArrayList();
List<String> encodedInputSplits = Lists.newArrayList();
List<String> splitTypes = Lists.newArrayList();
for (InputSplit split : splits) {
HivePartition partition = null;
if (partitionMap.get(split) != null) {
partition = new HivePartition(partitionMap.get(split));
}
parts.add(partition);
encodedInputSplits.add(serializeInputSplit(split));
splitTypes.add(split.getClass().getName());
}