Browse Source

Merge pull request #477 from lgcareer/branch-1.0.2

determine if the file exists in hdfs when read file
pull/2/head
lgcareer 6 years ago committed by GitHub
parent
commit
be0964c652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      escheduler-api/src/main/java/cn/escheduler/api/service/ResourcesService.java

2
escheduler-api/src/main/java/cn/escheduler/api/service/ResourcesService.java

@ -525,7 +525,7 @@ public class ResourcesService extends BaseService {
result.setData(map);
}else{
logger.error("read file {} not exist in hdfs", hdfsFileName);
putMsg(result, Status.RESOURCE_FILE_NOT_EXIST);
putMsg(result, Status.RESOURCE_FILE_NOT_EXIST,hdfsFileName);
}
} catch (Exception e) {

Loading…
Cancel
Save