determine if the file exists in hdfs when read file

This commit is contained in:
lgcareer 2019-06-24 20:58:18 +08:00
parent 893af254f7
commit 996dace03d

View File

@ -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) {