FileSystem fs = root.getFileSystem(conf);
List<Path> allPaths = Arrays.asList(root);
DirectoryTraversal.Filter filter = new VerifyParityFilter(conf, replicationLimit,
code, restoreReplication);
boolean allowUseStandby = false;
DirectoryTraversal traversal =
new DirectoryTraversal("Parity Verifier Retriever ", allPaths, fs, filter,
directoryTraversalThreads, directoryTraversalShuffle, allowUseStandby);
FileStatus newFile;
while ((newFile = traversal.next()) != DirectoryTraversal.FINISH_TOKEN) {
Path filePath = newFile.getPath();
out.println(filePath.toUri().getPath());
}
}