if (loads.size() == 1) {
FileSpec fsp = loads.get(0);
if (!MRPigStatsUtil.isTempFile(fsp.getFileName())) {
long records = mapInputRecords;
InputStats is = new InputStats(fsp.getFileName(),
hdfsBytesRead, records, (state == JobState.SUCCESS));
is.setConf(conf);
if (isSampler()) is.markSampleInput();
if (isIndexer()) is.markIndexerInput();
inputs.add(is);
}
} else {
for (int i=0; i<loads.size(); i++) {
FileSpec fsp = loads.get(i);