HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState(). Contributed by Milan Desai.
This commit is contained in:
parent
a7fbd4e633
commit
6e8722e49c
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue