Browse Source

if hdfs path is not exists return result

pull/2/head
lgcareer 6 years ago
parent
commit
5e89fc6844
  1. 1
      escheduler-api/src/main/java/cn/escheduler/api/service/ResourcesService.java

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

@ -643,6 +643,7 @@ public class ResourcesService extends BaseService {
logger.error("{} is not exist", resourcePath);
result.setCode(Status.HDFS_OPERATION_ERROR.getCode());
result.setMsg(String.format("%s is not exist", resourcePath));
return result;
}
} catch (Exception e) {
logger.error(e.getMessage(), e);

Loading…
Cancel
Save