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 |
INodeDirectory.asDirectory() |
INodeDirectory |
INodeReference.asDirectory() |
INodeDirectory |
INodeDirectory.recordModification(org.apache.hadoop.hdfs.server.namenode.snapshot.Snapshot latest,
INodeMap inodeMap) |
INodeDirectory |
INodeDirectory.replaceSelf4INodeDirectory(INodeMap inodeMap)
Replace itself with
INodeDirectory . |
static INodeDirectory |
INodeDirectory.valueOf(org.apache.hadoop.hdfs.server.namenode.INode inode,
Object path)
Cast INode to 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 |
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(org.apache.hadoop.hdfs.server.namenode.snapshot.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 |
---|
INodeDirectoryWithSnapshot(INodeDirectory that) |
Copyright © 2014 Apache Software Foundation. All Rights Reserved.