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

This commit is contained in:
Konstantin V Shvachko 2014-11-05 09:39:02 -08:00
parent a339fd3646
commit 1436e89fb7
2 changed files with 3 additions and 1 deletions

View File

@ -81,6 +81,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7357. FSNamesystem.checkFileProgress should log file path. HDFS-7357. FSNamesystem.checkFileProgress should log file path.
(Tsz Wo Nicholas Sze via wheat9) (Tsz Wo Nicholas Sze via wheat9)
HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState().
(Milan Desai via shv)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

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