Browse Source

DEC-7852 HDFS定时调度结果不可查看

release/10.0
Cloud.Liu 6 years ago
parent
commit
f966c2bb96
  1. 3
      src/main/java/com/fr/plugin/hdfs/repository/core/HDFSResourceRepository.java

3
src/main/java/com/fr/plugin/hdfs/repository/core/HDFSResourceRepository.java

@ -188,6 +188,9 @@ public class HDFSResourceRepository extends BaseResourceRepository {
FileStatus[] statuses = fs.listStatus(new Path(dir), new PathFilter() { FileStatus[] statuses = fs.listStatus(new Path(dir), new PathFilter() {
@Override @Override
public boolean accept(Path path) { public boolean accept(Path path) {
if (filter == null) {
return true;
}
return filter.accept(path.getName()); return filter.accept(path.getName());
} }
}); });

Loading…
Cancel
Save