Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Class and Description |
---|---|
class |
INodeDirectoryWithQuota
Directory INode class that has a quota restriction
|
Modifier and Type | Method and Description |
---|---|
INodeDirectory |
INodeReference.asDirectory() |
INodeDirectory |
INodeDirectory.asDirectory() |
INodeDirectory |
INode.asDirectory()
Cast this inode to an
INodeDirectory . |
INodeDirectory |
INode.getParent() |
INodeDirectory |
INodeDirectory.recordModification(Snapshot latest,
INodeMap inodeMap) |
INodeDirectory |
INodeDirectory.replaceSelf4INodeDirectory(INodeMap inodeMap)
Replace itself with
INodeDirectory . |
static INodeDirectory |
INodeDirectory.valueOf(INode inode,
Object path)
Cast INode to INodeDirectory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
INode.isAncestorDirectory(INodeDirectory dir) |
void |
INode.setParent(INodeDirectory parent)
Set parent directory
|
static void |
FSImageSerialization.writeINodeDirectory(INodeDirectory node,
DataOutput out)
Serialize a
INodeDirectory |
Constructor and Description |
---|
INodeDirectory(INodeDirectory other,
boolean adopt)
Copy constructor
|
INodeDirectoryAttributes.CopyWithQuota(INodeDirectory dir) |
INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir) |
INodeDirectoryWithQuota(INodeDirectory other,
boolean adopt,
long nsQuota,
long dsQuota)
Convert an existing directory inode to one with the given quota
|
INodeReference.DstReference(INodeDirectory parent,
INodeReference.WithCount referred,
int dstSnapshotId) |
INodeReference.WithName(INodeDirectory parent,
INodeReference.WithCount referred,
byte[] name,
int lastSnapshotId) |
Modifier and Type | Class and Description |
---|---|
class |
INodeDirectorySnapshottable
Directories where taking snapshots is allowed.
|
class |
INodeDirectoryWithSnapshot
The directory with snapshots.
|
static class |
Snapshot.Root
The root directory of the snapshot.
|
Modifier and Type | Method and Description |
---|---|
static void |
SnapshotFSImageFormat.loadDirectoryDiffList(INodeDirectory dir,
DataInput in,
FSImageFormat.Loader loader)
Load the
SnapshotDiff list for the INodeDirectoryWithSnapshot
directory. |
static void |
SnapshotFSImageFormat.saveDirectoryDiffList(INodeDirectory dir,
DataOutput out,
SnapshotFSImageFormat.ReferenceMap referenceMap) |
INodeDirectoryWithSnapshot |
INodeDirectoryWithSnapshot.saveSelf2Snapshot(Snapshot latest,
INodeDirectory snapshotCopy)
Save the snapshot copy to the latest snapshot.
|
Modifier and Type | Method and Description |
---|---|
void |
INodeDirectoryWithSnapshot.getSnapshotDirectory(List<INodeDirectory> snapshotDir)
Get all the directories that are stored in some snapshot but not in the
current children list.
|
Constructor and Description |
---|
INodeDirectorySnapshottable(INodeDirectory dir) |
INodeDirectoryWithSnapshot(INodeDirectory that) |
Copyright © 2013 Apache Software Foundation. All rights reserved.