Uses of Class
org.apache.hadoop.hdfs.protocol.SnapshotException
Packages that use SnapshotException
Package
Description
-
Uses of SnapshotException in org.apache.hadoop.hdfs.server.namenode
Methods in org.apache.hadoop.hdfs.server.namenode that throw SnapshotExceptionModifier and TypeMethodDescriptionINodeDirectory.addSnapshot(SnapshotManager snapshotManager, String name, LeaseManager leaseManager, long mtime) Add a snapshot.INodeDirectory.removeSnapshot(INode.ReclaimContext reclaimContext, String snapshotName, long mtime, SnapshotManager snapshotManager) Delete a snapshot.voidINodeDirectory.renameSnapshot(String path, String oldName, String newName, long mtime) Rename a snapshot. -
Uses of SnapshotException in org.apache.hadoop.hdfs.server.namenode.snapshot
Methods in org.apache.hadoop.hdfs.server.namenode.snapshot that throw SnapshotExceptionModifier and TypeMethodDescriptionDirectorySnapshottableFeature.addSnapshot(INodeDirectory snapshotRoot, SnapshotManager snapshotManager, String name, LeaseManager leaseManager, long now) Add a snapshot.DirectorySnapshottableFeature.getSnapshotByName(INodeDirectory snapshotRoot, String snapshotName) Find the snapshot matching the given name.DirectorySnapshottableFeature.removeSnapshot(INode.ReclaimContext reclaimContext, INodeDirectory snapshotRoot, String snapshotName, long now, SnapshotManager snapshotManager) Remove the snapshot with the given name fromDirectorySnapshottableFeature.snapshotsByNames, and delete all the corresponding DirectoryDiff.voidDirectorySnapshottableFeature.renameSnapshot(String path, String oldName, String newName, long mtime) Rename a snapshotConstructors in org.apache.hadoop.hdfs.server.namenode.snapshot that throw SnapshotExceptionModifierConstructorDescriptionSnapshotManager(org.apache.hadoop.conf.Configuration conf, FSDirectory fsdir)