Commit 5e89fc68 authored by lgcareer's avatar lgcareer
Browse files

if hdfs path is not exists return result

parent 1cc916a1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);