Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Method and Description |
---|---|
INode.ReclaimContext |
INode.ReclaimContext.getCopy()
make a copy with the same collectedBlocks, removedINodes, and
removedUCFiles but a new quotaDelta.
|
Modifier and Type | Method and Description |
---|---|
void |
INodeReference.cleanSubtree(INode.ReclaimContext reclaimContext,
int snapshot,
int prior) |
void |
INodeReference.WithName.cleanSubtree(INode.ReclaimContext reclaimContext,
int snapshot,
int prior) |
void |
INodeReference.DstReference.cleanSubtree(INode.ReclaimContext reclaimContext,
int snapshot,
int prior) |
void |
INodeDirectory.cleanSubtree(INode.ReclaimContext reclaimContext,
int snapshotId,
int priorSnapshotId) |
void |
INodeDirectory.cleanSubtreeRecursively(INode.ReclaimContext reclaimContext,
int snapshot,
int prior,
Map<org.apache.hadoop.hdfs.server.namenode.INode,org.apache.hadoop.hdfs.server.namenode.INode> excludedNodes)
Call cleanSubtree(..) recursively down the subtree.
|
void |
INodeReference.destroyAndCollectBlocks(INode.ReclaimContext reclaimContext) |
void |
INodeReference.WithName.destroyAndCollectBlocks(INode.ReclaimContext reclaimContext) |
void |
INodeReference.DstReference.destroyAndCollectBlocks(INode.ReclaimContext reclaimContext)
Destroy self and clear everything! If the INode is a file, this method
collects its blocks for further block deletion.
|
void |
INodeDirectory.destroyAndCollectBlocks(INode.ReclaimContext reclaimContext) |
org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot |
INodeDirectory.removeSnapshot(INode.ReclaimContext reclaimContext,
String snapshotName) |
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.deleteSnapshot(INodesInPath iip,
String snapshotName,
INode.ReclaimContext reclaimContext)
Delete a snapshot for a snapshottable directory
|
Copyright © 2017 Apache Software Foundation. All Rights Reserved.