try {
File dir = LzopFileTest.getDataDirectory();
File file = new File(dir, "input.txt.lzo");
FileInputStream fi = new FileInputStream(file);
LzopInputStream ci = new LzopInputStream(fi);
LineRecordReader reader = new LineRecordReader(ci, 0L, 9999L, 9999);
LongWritable key = new LongWritable();
Text value = new Text();
while (reader.next(key, value)) {
LOG.info("key=" + key + "; value=" + value);
}
} catch (Exception e) {
LOG.info("Test failed", e);
throw e;