Unverified Commit be0964c6 authored by lgcareer's avatar lgcareer Committed by GitHub
Browse files

Merge pull request #477 from lgcareer/branch-1.0.2

determine if the file exists in hdfs when read file
parents 893af254 996dace0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {