| SequenceFile.Reader reader = new SequenceFile.Reader(fs, status.getPath(), tester.configuration());
try {
Ex1 model = new Ex1();
while (reader.next(NullWritable.get(), model)) {
Ex1 copy = new Ex1();
copy.copyFrom(model);
results.add(copy);
}
} finally {
reader.close();
}
|