HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState(). Contributed by Milan Desai.

This commit is contained in:
Konstantin V Shvachko 2014-11-05 09:32:32 -08:00
parent a7fbd4e633
commit 6e8722e49c
2 changed files with 3 additions and 1 deletions

View File

@ -333,6 +333,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7356. Use DirectoryListing.hasMore() directly in nfs. (Li Lu via jing9)
HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState().
(Milan Desai via shv)
OPTIMIZATIONS
BUG FIXES

View File

@ -3287,7 +3287,6 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
checkBlock(previous);
onRetryBlock[0] = null;
checkOperation(OperationCategory.WRITE);
checkNameNodeSafeMode("Cannot add block to " + src);
// have we exceeded the configured limit of fs objects.