throw new RuntimeException("Cannot create input split", e);
}
}
};
} else {
return new PigTextInputFormat() {
@Override
public RecordReader<LongWritable, Text> createRecordReader(
InputSplit split, TaskAttemptContext context) {
RecordReader<LongWritable, Text> originalReader =
super.createRecordReader(split, context);