Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Method and Description |
---|---|
INodeDirectory |
INodeDirectory.asDirectory() |
INodeDirectory |
INodeReference.asDirectory() |
static INodeDirectory |
FSImageFormatPBINode.Loader.loadINodeDirectory(FsImageProto.INodeSection.INode n,
FSImageFormatProtobuf.LoaderContext state) |
static INodeDirectory |
INodeDirectory.valueOf(org.apache.hadoop.hdfs.server.namenode.INode inode,
Object path)
Cast INode to INodeDirectory.
|
Modifier and Type | Method and Description |
---|---|
Map<INodeDirectory,QuotaCounts> |
INode.QuotaDelta.getQuotaDirMap() |
Modifier and Type | Method and Description |
---|---|
void |
INode.QuotaDelta.addQuotaDirUpdate(INodeDirectory dir,
QuotaCounts update) |
Constructor and Description |
---|
INodeDirectory(INodeDirectory other,
boolean adopt,
INode.Feature... featuresToCopy)
Copy constructor
|
INodeDirectoryAttributes.CopyWithQuota(INodeDirectory dir) |
INodeDirectoryAttributes.SnapshotCopy(INodeDirectory dir) |
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 |
---|---|
static class |
Snapshot.Root
The root directory of the snapshot.
|
Modifier and Type | Method and Description |
---|---|
INodeDirectory |
SnapshotManager.getSnapshottableRoot(INodesInPath iip)
Find the source root directory where the snapshot will be taken
for a given path.
|
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.addSnapshottable(INodeDirectory dir)
Add the given snapshottable directory to
SnapshotManager.snapshottables . |
static org.apache.hadoop.hdfs.server.namenode.INode |
SnapshotFSImageFormat.loadCreated(byte[] createdNodeName,
INodeDirectory parent)
Load a node stored in the created list from fsimage.
|
static void |
SnapshotFSImageFormat.loadDirectoryDiffList(INodeDirectory dir,
DataInput in,
FSImageFormat.Loader loader)
Load the
SnapshotDiff list for the INodeDirectoryWithSnapshot
directory. |
static void |
SnapshotFSImageFormat.loadSnapshotList(INodeDirectory snapshottableParent,
int numSnapshots,
DataInput in,
FSImageFormat.Loader loader)
Load snapshots and snapshotQuota for a Snapshottable directory.
|
static void |
SnapshotFSImageFormat.saveDirectoryDiffList(INodeDirectory dir,
DataOutput out,
SnapshotFSImageFormat.ReferenceMap referenceMap) |
static void |
SnapshotFSImageFormat.saveSnapshots(INodeDirectory current,
DataOutput out)
Save snapshots and snapshot quota for a snapshottable directory.
|
static org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Bean |
SnapshotManager.toBean(INodeDirectory d) |
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.removeSnapshottable(List<INodeDirectory> toRemove)
Remove snapshottable directories from
SnapshotManager.snapshottables |
Copyright © 2018 Apache Software Foundation. All Rights Reserved.