HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState(). Contributed by Milan Desai.
This commit is contained in:
parent
a339fd3646
commit
1436e89fb7
|
@ -81,6 +81,9 @@ Release 2.7.0 - UNRELEASED
|
|||
HDFS-7357. FSNamesystem.checkFileProgress should log file path.
|
||||
(Tsz Wo Nicholas Sze via wheat9)
|
||||
|
||||
HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState().
|
||||
(Milan Desai via shv)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -3294,7 +3294,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.
|
||||
|
|
Loading…
Reference in New Issue