| Package | Description |
|---|---|
| org.apache.hadoop.hdfs.server.blockmanagement | |
| org.apache.hadoop.hdfs.server.namenode | |
| org.apache.hadoop.hdfs.server.namenode.snapshot |
| Modifier and Type | Method | Description |
|---|---|---|
static BlockStoragePolicySuite |
BlockStoragePolicySuite.createDefaultSuite() |
|
static BlockStoragePolicySuite |
BlockStoragePolicySuite.createDefaultSuite(org.apache.hadoop.conf.Configuration conf) |
|
BlockStoragePolicySuite |
BlockManager.getStoragePolicySuite() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.fs.ContentSummary |
BlockCollection.computeContentSummary(BlockStoragePolicySuite bsps) |
Get content summary.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected BlockStoragePolicySuite |
INode.ReclaimContext.bsps |
| Modifier and Type | Method | Description |
|---|---|---|
BlockStoragePolicySuite |
ContentSummaryComputationContext.getBlockStoragePolicySuite() |
|
BlockStoragePolicySuite |
FSDirectory.getBlockStoragePolicySuite() |
|
BlockStoragePolicySuite |
INode.ReclaimContext.storagePolicySuite() |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.fs.ContentSummary |
INode.computeContentSummary(BlockStoragePolicySuite bsps) |
Compute
ContentSummary. |
QuotaCounts |
INode.computeQuotaUsage(BlockStoragePolicySuite bsps) |
Count subtree
Quota.NAMESPACE and Quota.STORAGESPACE usages. |
QuotaCounts |
INode.computeQuotaUsage(BlockStoragePolicySuite bsps,
boolean useCache) |
|
abstract QuotaCounts |
INode.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
Count subtree
Quota.NAMESPACE and Quota.STORAGESPACE usages. |
QuotaCounts |
INodeDirectory.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
|
QuotaCounts |
INodeFile.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
|
QuotaCounts |
INodeReference.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
|
QuotaCounts |
INodeReference.WithName.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
|
QuotaCounts |
INodeSymlink.computeQuotaUsage(BlockStoragePolicySuite bsps,
byte blockStoragePolicyId,
boolean useCache,
int lastSnapshotId) |
|
QuotaCounts |
INodeDirectory.computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps,
byte storagePolicyId,
QuotaCounts counts) |
Add quota usage for this inode excluding children.
|
void |
INodeDirectory.undoRename4DstParent(BlockStoragePolicySuite bsps,
INode deletedChild,
int latestSnapshotId) |
Undo the rename operation for the dst tree, i.e., if the rename operation
(with OVERWRITE option) removes a file/dir from the dst tree, add it back
and delete possible record in the deleted list.
|
| Constructor | Description |
|---|---|
ContentSummaryComputationContext(BlockStoragePolicySuite bsps) |
Constructor for blocking computation.
|
ReclaimContext(BlockStoragePolicySuite bsps,
INode.BlocksMapUpdateInfo collectedBlocks,
java.util.List<INode> removedINodes,
java.util.List<java.lang.Long> removedUCFiles) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DirectorySnapshottableFeature.computeContentSummary4Snapshot(BlockStoragePolicySuite bsps,
ContentCounts counts) |
|
void |
DirectoryWithSnapshotFeature.computeContentSummary4Snapshot(BlockStoragePolicySuite bsps,
ContentCounts counts) |
|
QuotaCounts |
DirectoryWithSnapshotFeature.computeQuotaUsage4CurrentDirectory(BlockStoragePolicySuite bsps,
byte storagePolicyId) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.