| 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,
              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. | 
| INodeDirectory | SnapshotManager. getSnapshottableAncestorDir(INodesInPath iip)Get the snapshot root directory for the given directory. | 
| 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–2023 Apache Software Foundation. All rights reserved.