Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.namenode.snapshot |
Modifier and Type | Method and Description |
---|---|
static INodesInPath |
INodesInPath.append(INodesInPath iip,
org.apache.hadoop.hdfs.server.namenode.INode child,
byte[] childName)
Extend a given INodesInPath with a child INode.
|
INodesInPath |
INodesInPath.getExistingINodes() |
INodesInPath |
INodesInPath.getParentINodesInPath() |
static INodesInPath |
INodesInPath.replace(INodesInPath iip,
int pos,
org.apache.hadoop.hdfs.server.namenode.INode inode)
Replace an inode of the given INodesInPath in the given position.
|
Modifier and Type | Method and Description |
---|---|
static INodesInPath |
INodesInPath.append(INodesInPath iip,
org.apache.hadoop.hdfs.server.namenode.INode child,
byte[] childName)
Extend a given INodesInPath with a child INode.
|
static INodesInPath |
INodesInPath.replace(INodesInPath iip,
int pos,
org.apache.hadoop.hdfs.server.namenode.INode inode)
Replace an inode of the given INodesInPath in the given position.
|
Modifier and Type | Method and Description |
---|---|
String |
SnapshotManager.createSnapshot(org.apache.hadoop.hdfs.server.namenode.LeaseManager leaseManager,
INodesInPath iip,
String snapshotRoot,
String snapshotName)
Create a snapshot of the given path.
|
void |
SnapshotManager.deleteSnapshot(INodesInPath iip,
String snapshotName,
INode.ReclaimContext reclaimContext)
Delete a snapshot for a snapshottable directory
|
org.apache.hadoop.hdfs.protocol.SnapshotDiffReport |
SnapshotManager.diff(INodesInPath iip,
String snapshotRootPath,
String from,
String to)
Compute the difference between two snapshots of a directory, or between a
snapshot of the directory and its current tree.
|
INodeDirectory |
SnapshotManager.getSnapshottableRoot(INodesInPath iip)
Find the source root directory where the snapshot will be taken
for a given path.
|
void |
SnapshotManager.renameSnapshot(INodesInPath iip,
String snapshotRoot,
String oldSnapshotName,
String newSnapshotName)
Rename the given snapshot
|
Copyright © 2018 Apache Software Foundation. All Rights Reserved.