public class TestFullRestore extends TestBackupBase
TestBackupBase.FullTableBackupClientForTest, TestBackupBase.IncrementalTableBackupClientForTest
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
autoRestoreOnFailure, BACKUP_REMOTE_ROOT_DIR, BACKUP_ROOT_DIR, conf1, conf2, famName, NB_ROWS_IN_BATCH, provider, qualName, secure, table1, table1_restore, table1Desc, table2, table2_restore, table3, table3_restore, table4, TEST_UTIL, TEST_UTIL2, useSecondCluster
Constructor and Description |
---|
TestFullRestore() |
Modifier and Type | Method and Description |
---|---|
void |
testFullRestoreCheckCommand() |
void |
testFullRestoreMultiple()
Verify that multiple tables are restored to new tables.
|
void |
testFullRestoreMultipleCommand()
Verify that multiple tables are restored to new tables.
|
void |
testFullRestoreMultipleDNE()
Verify that restore fails on multiple tables that do not exist.
|
void |
testFullRestoreMultipleDNECommand()
Verify that restore fails on multiple tables that do not exist.
|
void |
testFullRestoreMultipleOverwrite()
Verify that multiple tables are restored to new tables using overwrite.
|
void |
testFullRestoreMultipleOverwriteCommand()
Verify that multiple tables are restored to new tables using overwrite.
|
void |
testFullRestoreSingle()
Verify that a single table is restored to a new table.
|
void |
testFullRestoreSingleCommand() |
void |
testFullRestoreSingleDNE()
Verify that restore fails on a single table that does not exist.
|
void |
testFullRestoreSingleDNECommand()
Verify that restore fails on a single table that does not exist.
|
void |
testFullRestoreSingleOverwrite()
Verify that a single table is restored using overwrite.
|
void |
testFullRestoreSingleOverwriteCommand()
Verify that a single table is restored using overwrite.
|
backupTables, checkFailed, checkSucceeded, createBackupRequest, createTables, dumpBackupDir, fullTableBackup, getBackupAdmin, getListOfWALFiles, incrementalTableBackup, insertIntoTable, loadTable, setUp, setUpHelper, tearDown, toList
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestFullRestore()
public void testFullRestoreSingle() throws Exception
Exception
- if doing the backup, restoring it or an operation on the tables failspublic void testFullRestoreSingleCommand() throws Exception
Exception
public void testFullRestoreCheckCommand() throws Exception
Exception
public void testFullRestoreMultiple() throws Exception
Exception
- if doing the backup, restoring it or an operation on the tables failspublic void testFullRestoreMultipleCommand() throws Exception
Exception
- if doing the backup, restoring it or an operation on the tables failspublic void testFullRestoreSingleOverwrite() throws Exception
Exception
- if doing the backup or restoring it failspublic void testFullRestoreSingleOverwriteCommand() throws Exception
Exception
- if doing the backup or an operation on the tables failspublic void testFullRestoreMultipleOverwrite() throws Exception
Exception
- if doing the backup or restoring it failspublic void testFullRestoreMultipleOverwriteCommand() throws Exception
Exception
- if doing the backup or an operation on the tables failspublic void testFullRestoreSingleDNE() throws Exception
Exception
- if doing the backup or restoring it failspublic void testFullRestoreSingleDNECommand() throws Exception
Exception
- if doing the backup or restoring it failspublic void testFullRestoreMultipleDNE() throws Exception
Exception
- if doing the backup or restoring it failspublic void testFullRestoreMultipleDNECommand() throws Exception
Exception
- if doing the backup or restoring it failsCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.