FileStatus[] globStatus = fs.globStatus(new Path(TEST_OUTPUT + "/part-*"));
for (FileStatus fts : globStatus) {
SequenceFile.Reader reader = new SequenceFile.Reader(fs, fts.getPath(),
conf);
Text key = new Text();
TextArrayWritable value = new TextArrayWritable();
while (reader.next(key, value)) {
Writable[] writables = value.get();
assertTrue(writables.length <= 10);
for (Writable t : writables) {
int outlinkId = Integer.parseInt(t.toString());
assertTrue(outlinkId <= 20);
assertTrue(outlinkId >= 0);