repository = HadoopDataSourceUtil.loadRepository(getConf());
}
String basePath = repository.getComponentPath(path);
DirectDataSource source = repository.getRelatedDataSource(path);
for (FilePattern pattern : patterns) {
List<ResourceInfo> list = source.list(basePath, pattern, new Counter());
for (ResourceInfo info : list) {
System.out.println(info.getPath());
}
}
return 0;