| 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 |
|---|---|---|
void |
BlockManager.removeBlocksAndUpdateSafemodeTotal(INode.BlocksMapUpdateInfo blocks) |
Removes the blocks from blocksmap and updates the safemode blocks total.
|
| Modifier and Type | Field | Description |
|---|---|---|
protected INode.BlocksMapUpdateInfo |
INode.ReclaimContext.collectedBlocks |
| Modifier and Type | Method | Description |
|---|---|---|
INode.BlocksMapUpdateInfo |
INode.ReclaimContext.collectedBlocks() |
| Modifier and Type | Method | Description |
|---|---|---|
long |
INodeFile.collectBlocksBeyondMax(long max,
INode.BlocksMapUpdateInfo collectedBlocks,
java.util.Set<BlockInfo> toRetain) |
Remove full blocks at the end file up to newLength
|
void |
INodeFile.collectBlocksBeyondSnapshot(BlockInfo[] snapshotBlocks,
INode.BlocksMapUpdateInfo collectedBlocks) |
This function is only called when block list is stored in snapshot
diffs.
|
| Constructor | Description |
|---|---|
ReclaimContext(BlockStoragePolicySuite bsps,
INode.BlocksMapUpdateInfo collectedBlocks,
java.util.List<INode> removedINodes,
java.util.List<java.lang.Long> removedUCFiles) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
FileDiff.destroyAndCollectSnapshotBlocks(INode.BlocksMapUpdateInfo collectedBlocks) |
|
void |
FileDiffList.destroyAndCollectSnapshotBlocks(INode.BlocksMapUpdateInfo collectedBlocks) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.