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.
|
static org.apache.hadoop.hdfs.server.namenode.INode |
FSDirXAttrOp.unprotectedSetXAttrs(org.apache.hadoop.hdfs.server.namenode.FSDirectory fsd,
INodesInPath iip,
List<org.apache.hadoop.fs.XAttr> xAttrs,
EnumSet<org.apache.hadoop.fs.XAttrSetFlag> flag) |
Modifier and Type | Method and Description |
---|---|
void |
SnapshotManager.assertMarkedAsDeleted(INodesInPath iip,
String snapshotName) |
INodeDirectory |
SnapshotManager.checkAndGetSnapshottableAncestorDir(INodesInPath iip)
Get the snapshot root directory for the given directory.
|
String |
SnapshotManager.createSnapshot(org.apache.hadoop.hdfs.server.namenode.LeaseManager leaseManager,
INodesInPath iip,
String snapshotRoot,
String snapshotName,
long mtime)
Create a snapshot of the given path.
|
void |
SnapshotManager.deleteSnapshot(INodesInPath iip,
String snapshotName,
INode.ReclaimContext reclaimContext,
long now)
Delete a snapshot for a snapshottable directory
|
org.apache.hadoop.hdfs.protocol.SnapshotDiffReport |
SnapshotManager.diff(INodesInPath iip,
String snapshotPath,
String from,
String to)
Compute the difference between two snapshots of a directory, or between a
snapshot of the directory and its current tree.
|
org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListing |
SnapshotManager.diff(INodesInPath iip,
String snapshotPath,
String from,
String to,
byte[] startPath,
int index,
int snapshotDiffReportLimit)
Compute the partial difference between two snapshots of a directory,
or between a snapshot of the directory and its current tree.
|
org.apache.hadoop.hdfs.protocol.SnapshotStatus[] |
SnapshotManager.getSnapshotListing(INodesInPath iip)
List all the snapshots under a snapshottable directory.
|
INodeDirectory |
SnapshotManager.getSnapshottableAncestorDir(INodesInPath iip) |
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,
long now)
Rename the given snapshot
|
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.