Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Method and Description |
---|---|
INodeDirectorySnapshottable |
INodeDirectory.replaceSelf4INodeDirectorySnapshottable(Snapshot latest,
INodeMap inodeMap)
Replace itself with an
INodeDirectorySnapshottable . |
Modifier and Type | Method and Description |
---|---|
INodeDirectorySnapshottable |
SnapshotManager.getSnapshottableRoot(String path)
Find the source root directory where the snapshot will be taken
for a given path.
|
static INodeDirectorySnapshottable |
INodeDirectorySnapshottable.valueOf(INode inode,
String src)
Cast INode to INodeDirectorySnapshottable.
|
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.addSnapshottable(INodeDirectorySnapshottable dir)
Add the given snapshottable directory to
SnapshotManager.snapshottables . |
static void |
SnapshotFSImageFormat.loadSnapshotList(INodeDirectorySnapshottable snapshottableParent,
int numSnapshots,
DataInput in,
FSImageFormat.Loader loader)
Load snapshots and snapshotQuota for a Snapshottable directory.
|
static void |
SnapshotFSImageFormat.saveSnapshots(INodeDirectorySnapshottable current,
DataOutput out)
Save snapshots and snapshot quota for a snapshottable directory.
|
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.removeSnapshottable(List<INodeDirectorySnapshottable> toRemove)
Remove snapshottable directories from
SnapshotManager.snapshottables |
Copyright © 2013 Apache Software Foundation. All rights reserved.