FileStatus[] statuses = fs.globStatus(path);
List<Ex1> results = new ArrayList<Ex1>();
for (FileStatus status : statuses) {
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();
}