Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.snapshot |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listSnapshots()
List completed snapshots.
|
List<SnapshotDescription> |
Admin.listSnapshots()
List completed snapshots.
|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listSnapshots(Pattern pattern)
List all the completed snapshots matching the given pattern.
|
List<SnapshotDescription> |
Admin.listSnapshots(Pattern pattern)
List all the completed snapshots matching the given pattern.
|
List<SnapshotDescription> |
Admin.listSnapshots(String regex)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listSnapshots(Pattern) instead. |
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listTableSnapshots(Pattern tableNamePattern)
List all the completed snapshots matching the given table name pattern.
|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listTableSnapshots(Pattern tableNamePattern,
Pattern snapshotNamePattern)
List all the completed snapshots matching the given table name regular expression and snapshot
name regular expression.
|
List<SnapshotDescription> |
Admin.listTableSnapshots(Pattern tableNamePattern,
Pattern snapshotNamePattern)
List all the completed snapshots matching the given table name regular expression and snapshot
name regular expression.
|
List<SnapshotDescription> |
Admin.listTableSnapshots(String tableNameRegex,
String snapshotNameRegex)
Deprecated.
since 2.0 version and will be removed in 3.0 version. Use
Admin.listTableSnapshots(Pattern, Pattern) instead. |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
AsyncAdmin.isSnapshotFinished(SnapshotDescription snapshot)
Check the current state of the passed snapshot.
|
boolean |
Admin.isSnapshotFinished(SnapshotDescription snapshot)
Check the current state of the passed snapshot.
|
CompletableFuture<Void> |
AsyncAdmin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot asynchronously.
|
void |
Admin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking).
|
Future<Void> |
Admin.snapshotAsync(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.
|
default void |
Admin.takeSnapshotAsync(SnapshotDescription snapshot)
Deprecated.
Since 2.0.0. Will be removed in 3.0.0. Use
Admin.snapshotAsync(SnapshotDescription) instead. |
Modifier and Type | Method and Description |
---|---|
SnapshotDescription |
HBaseSnapshotException.getSnapshotDescription()
Returns the description of the snapshot that is being failed
|
Modifier and Type | Method and Description |
---|---|
static List<SnapshotDescription> |
SnapshotInfo.getSnapshotList(org.apache.hadoop.conf.Configuration conf)
Returns the list of available snapshots in the specified location
|
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats |
SnapshotInfo.getSnapshotStats(org.apache.hadoop.conf.Configuration conf,
SnapshotDescription snapshot)
Returns the snapshot stats
|
Constructor and Description |
---|
CorruptedSnapshotException(String message,
SnapshotDescription snapshotDescription)
Snapshot was corrupt for some reason.
|
HBaseSnapshotException(String message,
SnapshotDescription snapshotDescription)
Exception for the given snapshot that has no previous root cause.
|
HBaseSnapshotException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
Exception for the given snapshot due to another exception.
|
RestoreSnapshotException(String message,
SnapshotDescription snapshotDescription) |
RestoreSnapshotException(String message,
Throwable cause,
SnapshotDescription snapshotDescription) |
SnapshotCreationException(String message,
SnapshotDescription snapshotDescription)
Failure to create the specified snapshot.
|
SnapshotCreationException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
Failure to create the specified snapshot due to an external cause.
|
SnapshotDoesNotExistException(SnapshotDescription snapshotDescription) |
SnapshotExistsException(String message,
SnapshotDescription snapshotDescription)
Failure due to the snapshot already existing.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.