final FileSystem fs = FileSystem.get(split.getPath().toUri());
final FSDataInputStream fdis = fs.open(split.getPath());
final LineReader lineReader = new LineReader(fdis, start, length, (1024 * 1024));
byte[] line = lineReader.readLine();
while (line != null) {
// Create a string object from the data read
StringRecord str = new StringRecord();
str.set(line);
// Send out string
output.emit(str);
line = lineReader.readLine();
}
// Close the stream;
lineReader.close();
}
this.output.flush();
}