|
@@ -502,7 +502,6 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
|
private final boolean standbyShouldCheckpoint;
|
|
|
private final boolean isSnapshotTrashRootEnabled;
|
|
|
private final int snapshotDiffReportLimit;
|
|
|
- private final int blockDeletionIncrement;
|
|
|
|
|
|
/**
|
|
|
* Whether enable checkOperation when call getBlocks.
|
|
@@ -1065,12 +1064,6 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
|
this.allowOwnerSetQuota = conf.getBoolean(
|
|
|
DFSConfigKeys.DFS_PERMISSIONS_ALLOW_OWNER_SET_QUOTA_KEY,
|
|
|
DFSConfigKeys.DFS_PERMISSIONS_ALLOW_OWNER_SET_QUOTA_DEFAULT);
|
|
|
- this.blockDeletionIncrement = conf.getInt(
|
|
|
- DFSConfigKeys.DFS_NAMENODE_BLOCK_DELETION_INCREMENT_KEY,
|
|
|
- DFSConfigKeys.DFS_NAMENODE_BLOCK_DELETION_INCREMENT_DEFAULT);
|
|
|
- Preconditions.checkArgument(blockDeletionIncrement > 0,
|
|
|
- DFSConfigKeys.DFS_NAMENODE_BLOCK_DELETION_INCREMENT_KEY +
|
|
|
- " must be a positive integer.");
|
|
|
this.isGetBlocksCheckOperationEnabled = conf.getBoolean(
|
|
|
DFSConfigKeys.DFS_NAMENODE_GETBLOCKS_CHECK_OPERATION_KEY,
|
|
|
DFSConfigKeys.DFS_NAMENODE_GETBLOCKS_CHECK_OPERATION_DEFAULT);
|