Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.snapshot |
Modifier and Type | Method and Description |
---|---|
default void |
Admin.snapshot(byte[] snapshotName,
TableName tableName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.snapshot(String, TableName)
instead. |
void |
HBaseAdmin.snapshot(SnapshotDescription snapshotDesc) |
void |
Admin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking).
|
default void |
Admin.snapshot(String snapshotName,
TableName tableName)
Take a snapshot for the given table.
|
default void |
Admin.snapshot(String snapshotName,
TableName tableName,
Map<String,Object> snapshotProps)
Create typed snapshot of the table.
|
default void |
Admin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type)
Create typed snapshot of the table.
|
default void |
Admin.snapshot(String snapshotName,
TableName tableName,
SnapshotType type,
Map<String,Object> snapshotProps)
Create typed snapshot of the table.
|
Future<Void> |
HBaseAdmin.snapshotAsync(SnapshotDescription snapshotDesc) |
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 |
---|---|
static void |
SnapshotDescriptionUtils.completeSnapshot(org.apache.hadoop.fs.Path snapshotDir,
org.apache.hadoop.fs.Path workingDir,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.FileSystem workingDirFs,
org.apache.hadoop.conf.Configuration conf)
Commits the snapshot process by moving the working snapshot
to the finalized filepath
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.