Package | Description |
---|---|
org.apache.hadoop.hbase.backup | |
org.apache.hadoop.hbase.backup.impl | |
org.apache.hadoop.hbase.backup.mapreduce |
Modifier and Type | Field and Description |
---|---|
private BackupType |
BackupInfo.type
Backup type, full or incremental
|
private BackupType |
BackupRequest.type |
Modifier and Type | Method and Description |
---|---|
BackupType |
BackupRequest.getBackupType() |
BackupType |
BackupInfo.getType() |
static BackupType |
BackupType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupType[] |
BackupType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
BackupCopyJob.copy(BackupInfo backupInfo,
BackupManager backupManager,
org.apache.hadoop.conf.Configuration conf,
BackupType backupType,
String[] options)
Copy backup data to destination
|
private BackupRequest |
BackupRequest.setBackupType(BackupType type) |
void |
BackupInfo.setType(BackupType type) |
BackupRequest.Builder |
BackupRequest.Builder.withBackupType(BackupType type) |
Constructor and Description |
---|
BackupInfo(String backupId,
BackupType type,
TableName[] tables,
String targetRootDir) |
Modifier and Type | Field and Description |
---|---|
private BackupType |
BackupManifest.BackupImage.type |
Modifier and Type | Method and Description |
---|---|
BackupType |
BackupManifest.getType() |
BackupType |
BackupManifest.BackupImage.getType() |
Modifier and Type | Method and Description |
---|---|
protected void |
TableBackupClient.addManifest(BackupInfo backupInfo,
BackupManager backupManager,
BackupType type,
org.apache.hadoop.conf.Configuration conf)
Add manifest for the current backup.
|
protected void |
TableBackupClient.completeBackup(Connection conn,
BackupInfo backupInfo,
BackupManager backupManager,
BackupType type,
org.apache.hadoop.conf.Configuration conf)
Complete the overall backup.
|
BackupInfo |
BackupManager.createBackupInfo(String backupId,
BackupType type,
List<TableName> tableList,
String targetRootDir,
int workers,
long bandwidth)
Creates a backup info based on input backup request.
|
protected void |
TableBackupClient.failBackup(Connection conn,
BackupInfo backupInfo,
BackupManager backupManager,
Exception e,
String msg,
BackupType type,
org.apache.hadoop.conf.Configuration conf)
Fail the overall backup.
|
List<TableName> |
BackupSystemTable.getTablesForBackupType(BackupType type) |
private void |
BackupManifest.BackupImage.setType(BackupType type) |
(package private) BackupManifest.BackupImage.Builder |
BackupManifest.BackupImage.Builder.withType(BackupType type) |
Constructor and Description |
---|
BackupImage(String backupId,
BackupType type,
String rootDir,
List<TableName> tableList,
long startTs,
long completeTs) |
Modifier and Type | Method and Description |
---|---|
int |
MapReduceBackupCopyJob.copy(BackupInfo context,
BackupManager backupManager,
org.apache.hadoop.conf.Configuration conf,
BackupType copyType,
String[] options)
Do backup copy based on different types.
|
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.