Skip to content

Commit

Permalink
HDFS-10930.06.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyuyao committed Nov 15, 2016
1 parent b475444 commit 1cd7ae8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,9 @@ private long validateIntegrityAndSetLength(File blockFile, long genStamp) {
FsDatasetImpl.LOG.warn(e);
return 0;
} finally {
ris.close();
if (ris != null) {
ris.close();
}
}
}

Expand Down

0 comments on commit 1cd7ae8

Please sign in to comment.