Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.regionserver.storefiletracker | |
org.apache.hadoop.hbase.thrift2.client |
Modifier and Type | Method and Description |
---|---|
default void |
Admin.cloneSnapshot(byte[] snapshotName,
TableName tableName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.cloneSnapshot(String, TableName) instead. |
default void |
Admin.cloneSnapshot(String snapshotName,
TableName tableName)
Create a new table by cloning the snapshot content.
|
default void |
Admin.cloneSnapshot(String snapshotName,
TableName tableName,
boolean restoreAcl)
Create a new table by cloning the snapshot content.
|
default void |
Admin.cloneSnapshot(String snapshotName,
TableName tableName,
boolean restoreAcl,
String customSFT)
Create a new table by cloning the snapshot content.
|
default Future<Void> |
Admin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl)
Create a new table by cloning the snapshot content.
|
Future<Void> |
Admin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl,
String customSFT)
Create a new table by cloning the snapshot content.
|
Future<Void> |
HBaseAdmin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl,
String customSFT) |
private TableName |
HBaseAdmin.getTableNameBeforeRestoreSnapshot(String snapshotName)
Check whether the snapshot exists and contains disabled table
|
private Future<Void> |
HBaseAdmin.internalRestoreSnapshotAsync(String snapshotName,
TableName tableName,
boolean restoreAcl,
String customSFT)
Execute Restore/Clone snapshot and wait for the server to complete (blocking).
|
default void |
Admin.restoreSnapshot(byte[] snapshotName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.restoreSnapshot(String)
instead. |
void |
HBaseAdmin.restoreSnapshot(byte[] snapshotName) |
default void |
Admin.restoreSnapshot(byte[] snapshotName,
boolean takeFailSafeSnapshot)
Deprecated.
since 2.3.0, will be removed in 3.0.0. Use
Admin.restoreSnapshot(String, boolean) instead. |
void |
HBaseAdmin.restoreSnapshot(byte[] snapshotName,
boolean takeFailSafeSnapshot) |
void |
Admin.restoreSnapshot(String snapshotName)
Restore the specified snapshot on the original table.
|
void |
HBaseAdmin.restoreSnapshot(String snapshotName) |
default void |
Admin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot)
Restore the specified snapshot on the original table.
|
void |
HBaseAdmin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot) |
void |
Admin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot,
boolean restoreAcl)
Restore the specified snapshot on the original table.
|
void |
HBaseAdmin.restoreSnapshot(String snapshotName,
boolean takeFailSafeSnapshot,
boolean restoreAcl) |
Future<Void> |
Admin.restoreSnapshotAsync(String snapshotName)
Deprecated.
since 2.3.0, will be removed in 3.0.0. The implementation does not take care of the
failsafe property, so do not use it any more.
|
Future<Void> |
HBaseAdmin.restoreSnapshotAsync(String snapshotName) |
Modifier and Type | Method and Description |
---|---|
static void |
StoreFileTrackerValidationUtils.validatePreRestoreSnapshot(TableDescriptor currentTableDesc,
TableDescriptor snapshotTableDesc,
org.apache.hadoop.conf.Configuration baseConf)
Makes sure restoring a snapshot does not break the current SFT setup follows
StoreUtils.createStoreConfiguration
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
ThriftAdmin.cloneSnapshotAsync(String snapshotName,
TableName tableName,
boolean cloneAcl,
String customSFT) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.