Skip to content

Commit

Permalink
Merge pull request apache#477 from lgcareer/branch-1.0.2
Browse files Browse the repository at this point in the history
determine if the file exists in hdfs when read file
  • Loading branch information
lgcareer authored Jun 24, 2019
2 parents 893af25 + 996dace commit be0964c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public Result readResource(int resourceId, int skipLineNum, int limit) {
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) {
Expand Down

0 comments on commit be0964c

Please sign in to comment.