Browse Source

Merge pull request #11 in PG/plugin-repository-hdfs from ~CLOUD.LIU/plugin-repository-hdfs:master to master

* commit 'f966c2bb96a6aebd96197d0acfcd4352606bd8f7':
  DEC-7852 HDFS定时调度结果不可查看
release/10.0
rinoux 6 years ago
parent
commit
f306f583af
  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() {
@Override
public boolean accept(Path path) {
if (filter == null) {
return true;
}
return filter.accept(path.getName());
}
});

Loading…
Cancel
Save