Package | Description |
---|---|
org.apache.hadoop.hdfs.protocol | |
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Class and Description |
---|---|
class |
DSQuotaExceededException |
class |
FSLimitException |
static class |
FSLimitException.MaxDirectoryItemsExceededException
Directory has too many items
|
static class |
FSLimitException.PathComponentTooLongException
Path component length is too long
|
class |
NSQuotaExceededException |
Modifier and Type | Method and Description |
---|---|
boolean |
INodeDirectory.addChild(INode node,
boolean setModTime,
Snapshot latest,
INodeMap inodeMap)
Add a child inode to the directory.
|
void |
INode.addSpaceConsumed(long nsDelta,
long dsDelta,
boolean verify)
Check and add namespace/diskspace consumed to itself and the ancestors.
|
void |
INodeDirectoryWithQuota.addSpaceConsumed(long nsDelta,
long dsDelta,
boolean verify) |
Quota.Counts |
INodeReference.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeReference.WithName.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeReference.DstReference.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeFile.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeDirectory.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
abstract Quota.Counts |
INode.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange)
Clean the subtree under this inode and collect the blocks from the descents
for further block deletion/update.
|
Quota.Counts |
INodeDirectory.cleanSubtreeRecursively(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
Map<INode,INode> excludedNodes,
boolean countDiffChange)
Call cleanSubtree(..) recursively down the subtree.
|
INodeFile |
INodeFile.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeDirectory |
INodeDirectory.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeFileUnderConstruction |
INodeFileUnderConstruction.recordModification(Snapshot latest,
INodeMap inodeMap) |
boolean |
INodeDirectory.removeChild(INode child,
Snapshot latest,
INodeMap inodeMap)
Remove the specified child from this directory.
|
INodeDirectorySnapshottable |
INodeDirectory.replaceSelf4INodeDirectorySnapshottable(Snapshot latest,
INodeMap inodeMap)
Replace itself with an
INodeDirectorySnapshottable . |
INode |
INodeDirectory.saveChild2Snapshot(INode child,
Snapshot latest,
INode snapshotCopy,
INodeMap inodeMap)
Save the child to the latest snapshot.
|
INode |
INode.setAccessTime(long accessTime,
Snapshot latest,
INodeMap inodeMap)
Set last access time of inode.
|
INodeFile |
INodeFile.setFileReplication(short replication,
Snapshot latest,
INodeMap inodeMap)
Set the replication factor of this file.
|
INode |
INode.setModificationTime(long modificationTime,
Snapshot latest,
INodeMap inodeMap)
Set the last modification time of inode.
|
INode |
INodeReference.updateModificationTime(long mtime,
Snapshot latest,
INodeMap inodeMap) |
abstract INode |
INode.updateModificationTime(long mtime,
Snapshot latest,
INodeMap inodeMap)
Update modification time if it is larger than the current value.
|
INode |
INodeWithAdditionalFields.updateModificationTime(long mtime,
Snapshot latest,
INodeMap inodeMap)
Update modification time if it is larger than the current value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
INodeDirectoryWithSnapshot.addChild(INode inode,
boolean setModTime,
Snapshot latest,
INodeMap inodeMap) |
Quota.Counts |
INodeFileUnderConstructionWithSnapshot.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeDirectoryWithSnapshot.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
Quota.Counts |
INodeFileWithSnapshot.cleanSubtree(Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes,
boolean countDiffChange) |
static void |
INodeDirectoryWithSnapshot.destroyDstSubtree(INode inode,
Snapshot snapshot,
Snapshot prior,
INode.BlocksMapUpdateInfo collectedBlocks,
List<INode> removedINodes)
Destroy a subtree under a DstReference node.
|
INodeFileUnderConstructionWithSnapshot |
INodeFileUnderConstructionWithSnapshot.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeDirectoryWithSnapshot |
INodeDirectoryWithSnapshot.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeFileWithSnapshot |
INodeFileWithSnapshot.recordModification(Snapshot latest,
INodeMap inodeMap) |
boolean |
INodeDirectoryWithSnapshot.removeChild(INode child,
Snapshot latest,
INodeMap inodeMap) |
INode |
INodeDirectoryWithSnapshot.saveChild2Snapshot(INode child,
Snapshot latest,
INode snapshotCopy,
INodeMap inodeMap) |
INodeDirectoryWithSnapshot |
INodeDirectoryWithSnapshot.saveSelf2Snapshot(Snapshot latest,
INodeDirectory snapshotCopy)
Save the snapshot copy to the latest snapshot.
|
void |
INodeDirectoryWithSnapshot.undoRename4DstParent(INode deletedChild,
Snapshot latestSnapshot)
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.
|
void |
INodeDirectoryWithSnapshot.undoRename4ScrParent(INodeReference oldChild,
INode newChild,
Snapshot latestSnapshot)
This method is usually called by the undo section of rename.
|
Copyright © 2013 Apache Software Foundation. All rights reserved.