未验证 提交 35c0020b 编写于 作者: L lgcareer 提交者: GitHub

Merge pull request #423 from lgcareer/branch-1.0.2

if hdfs path is not exists return result
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册