Uses of Class
org.apache.hadoop.hbase.client.SnapshotDescription
Package
Description
Provides HBase Client
Table of Contents
-
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.client
Modifier and TypeMethodDescriptionList<org.apache.hadoop.hbase.client.SnapshotDescription>
Admin.listSnapshots()
List completed snapshots.List<org.apache.hadoop.hbase.client.SnapshotDescription>
Admin.listSnapshots
(String regex) Deprecated.since 2.0 version and will be removed in 3.0 version.List<org.apache.hadoop.hbase.client.SnapshotDescription>
Admin.listSnapshots
(Pattern pattern) List all the completed snapshots matching the given pattern.CompletableFuture<List<org.apache.hadoop.hbase.client.SnapshotDescription>>
AsyncAdmin.listSnapshots()
List completed snapshots.CompletableFuture<List<org.apache.hadoop.hbase.client.SnapshotDescription>>
AsyncAdmin.listSnapshots
(Pattern pattern) List all the completed snapshots matching the given pattern.List<org.apache.hadoop.hbase.client.SnapshotDescription>
HBaseAdmin.listSnapshots()
List<org.apache.hadoop.hbase.client.SnapshotDescription>
HBaseAdmin.listSnapshots
(String regex) List<org.apache.hadoop.hbase.client.SnapshotDescription>
HBaseAdmin.listSnapshots
(Pattern pattern) List<org.apache.hadoop.hbase.client.SnapshotDescription>
Deprecated.since 2.0 version and will be removed in 3.0 version.List<org.apache.hadoop.hbase.client.SnapshotDescription>
List all the completed snapshots matching the given table name regular expression and snapshot name regular expression.CompletableFuture<List<org.apache.hadoop.hbase.client.SnapshotDescription>>
AsyncAdmin.listTableSnapshots
(Pattern tableNamePattern) List all the completed snapshots matching the given table name pattern.CompletableFuture<List<org.apache.hadoop.hbase.client.SnapshotDescription>>
List all the completed snapshots matching the given table name regular expression and snapshot name regular expression.List<org.apache.hadoop.hbase.client.SnapshotDescription>
List<org.apache.hadoop.hbase.client.SnapshotDescription>
Modifier and TypeMethodDescriptionboolean
Admin.isSnapshotFinished
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Check the current state of the passed snapshot.AsyncAdmin.isSnapshotFinished
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Check the current state of the passed snapshot.boolean
HBaseAdmin.isSnapshotFinished
(org.apache.hadoop.hbase.client.SnapshotDescription snapshotDesc) default void
Admin.snapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Take a snapshot and wait for the server to complete that snapshot (blocking).AsyncAdmin.snapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Take a snapshot and wait for the server to complete that snapshot asynchronously.Admin.snapshotAsync
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Take a snapshot without waiting for the server to complete that snapshot (asynchronous) Only a single snapshot should be taken at a time, or results may be undefined.HBaseAdmin.snapshotAsync
(org.apache.hadoop.hbase.client.SnapshotDescription snapshotDesc) default void
Admin.takeSnapshotAsync
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Deprecated.Since 2.0.0. -
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.coprocessor
Modifier and TypeMethodDescriptiondefault void
MasterObserver.postCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after a snapshot clone operation has been requested.default void
MasterObserver.postCompletedSnapshotAction
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after the snapshot operation has been completed.default void
MasterObserver.postDeleteSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Called after the delete snapshot operation has been requested.default void
MasterObserver.postListSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Called after listSnapshots request has been processed.default void
MasterObserver.postRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after a snapshot restore operation has been requested.default void
MasterObserver.postSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called after the snapshot operation has been requested.default void
MasterObserver.preCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a snapshot is cloned.default void
MasterObserver.preDeleteSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Called before a snapshot is deleted.default void
MasterObserver.preListSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Called before listSnapshots request has been processed.default void
MasterObserver.preRestoreSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a snapshot is restored.default void
MasterObserver.preSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor tableDescriptor) Called before a new snapshot is taken. -
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.master
Modifier and TypeMethodDescriptionvoid
MasterCoprocessorHost.postCloneSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postCompletedSnapshotAction
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postDeleteSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
MasterCoprocessorHost.postListSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
MasterCoprocessorHost.postRestoreSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.postSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.security.User user) void
MasterCoprocessorHost.preCloneSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.preDeleteSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
MasterCoprocessorHost.preListSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot) void
MasterCoprocessorHost.preRestoreSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor) void
MasterCoprocessorHost.preSnapshot
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor hTableDescriptor, org.apache.hadoop.hbase.security.User user) -
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.rsgroup
Modifier and TypeMethodDescriptionvoid
RSGroupAdminEndpoint.preCloneSnapshot
(org.apache.hadoop.hbase.coprocessor.ObserverContext<org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment> ctx, org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.client.TableDescriptor desc) -
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.shaded.protobuf
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.client.SnapshotDescription
ProtobufUtil.createSnapshotDesc
(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotDesc) Convert fromSnapshotProtos.SnapshotDescription
toSnapshotDescription
Modifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.client.SnapshotDescription>
ProtobufUtil.toSnapshotDescriptionList
(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetCompletedSnapshotsResponse response, Pattern pattern) Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription
ProtobufUtil.createHBaseProtosSnapshotDesc
(org.apache.hadoop.hbase.client.SnapshotDescription snapshotDesc) Convert fromSnapshotDescription
toSnapshotProtos.SnapshotDescription
-
Uses of org.apache.hadoop.hbase.client.SnapshotDescription in org.apache.hadoop.hbase.snapshot
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.SnapshotDescription
HBaseSnapshotException.getSnapshotDescription()
Returns the description of the snapshot that is being failedorg.apache.hadoop.hbase.client.SnapshotDescription
SnapshotInfo.SnapshotStats.getSnapshotDescription()
Returns the snapshot descriptorModifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.client.SnapshotDescription>
SnapshotInfo.getSnapshotList
(org.apache.hadoop.conf.Configuration conf) Returns the list of available snapshots in the specified locationModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats
SnapshotInfo.getSnapshotStats
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.SnapshotDescription snapshot) Returns the snapshot statsstatic boolean
SnapshotDescriptionUtils.isSnapshotOwner
(org.apache.hadoop.hbase.client.SnapshotDescription snapshot, org.apache.hadoop.hbase.security.User user) Check if the user is this table snapshot's ownerModifierConstructorDescriptionCorruptedSnapshotException
(String message, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Snapshot was corrupt for some reason.HBaseSnapshotException
(String message, Throwable cause, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Exception for the given snapshot due to another exception.HBaseSnapshotException
(String message, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Exception for the given snapshot that has no previous root cause.RestoreSnapshotException
(String message, Throwable cause, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) RestoreSnapshotException
(String message, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) SnapshotCreationException
(String message, Throwable cause, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Failure to create the specified snapshot due to an external cause.SnapshotCreationException
(String message, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Failure to create the specified snapshot.SnapshotDoesNotExistException
(org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) SnapshotExistsException
(String message, org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Failure due to the snapshot already existing.SnapshotTTLExpiredException
(org.apache.hadoop.hbase.client.SnapshotDescription snapshotDescription) Failure when the ttl for snapshot has already expired.