Package org.apache.hadoop.hbase.backup
Class TestFullRestore
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupBase
org.apache.hadoop.hbase.backup.TestFullRestore
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.backup.TestBackupBase
TestBackupBase.FullTableBackupClientForTest, TestBackupBase.IncrementalTableBackupClientForTest -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.backup.TestBackupBase
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidVerify that multiple tables are restored to new tables.voidVerify that multiple tables are restored to new tables.voidVerify that restore fails on multiple tables that do not exist.voidVerify that restore fails on multiple tables that do not exist.voidVerify that multiple tables are restored to new tables using overwrite.voidVerify that multiple tables are restored to new tables using overwrite.voidVerify that a single table is restored to a new table.voidvoidVerify that restore fails on a single table that does not exist.voidVerify that restore fails on a single table that does not exist.voidVerify that a single table is restored using overwrite.voidVerify that a single table is restored using overwrite.voidMethods inherited from class org.apache.hadoop.hbase.backup.TestBackupBase
backupTables, checkFailed, checkSucceeded, createBackupRequest, createBackupRequest, createTables, dumpBackupDir, fullTableBackup, getBackupAdmin, getListOfWALFiles, incrementalTableBackup, insertIntoTable, loadTable, setUp, setUpHelper, tearDown, toList
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestFullRestore
public TestFullRestore()
-
-
Method Details
-
testFullRestoreSingle
Verify that a single table is restored to a new table.- Throws:
Exception- if doing the backup, restoring it or an operation on the tables fails
-
testFullRestoreSingleWithRegion
- Throws:
Exception
-
testFullRestoreSingleCommand
- Throws:
Exception
-
testFullRestoreCheckCommand
- Throws:
Exception
-
testFullRestoreMultiple
Verify that multiple tables are restored to new tables.- Throws:
Exception- if doing the backup, restoring it or an operation on the tables fails
-
testFullRestoreMultipleCommand
Verify that multiple tables are restored to new tables.- Throws:
Exception- if doing the backup, restoring it or an operation on the tables fails
-
testFullRestoreSingleOverwrite
Verify that a single table is restored using overwrite.- Throws:
Exception- if doing the backup or restoring it fails
-
testFullRestoreSingleOverwriteCommand
Verify that a single table is restored using overwrite.- Throws:
Exception- if doing the backup or an operation on the tables fails
-
testFullRestoreMultipleOverwrite
Verify that multiple tables are restored to new tables using overwrite.- Throws:
Exception- if doing the backup or restoring it fails
-
testFullRestoreMultipleOverwriteCommand
Verify that multiple tables are restored to new tables using overwrite.- Throws:
Exception- if doing the backup or an operation on the tables fails
-
testFullRestoreSingleDNE
Verify that restore fails on a single table that does not exist.- Throws:
Exception- if doing the backup or restoring it fails
-
testFullRestoreSingleDNECommand
Verify that restore fails on a single table that does not exist.- Throws:
Exception- if doing the backup or restoring it fails
-
testFullRestoreMultipleDNE
Verify that restore fails on multiple tables that do not exist.- Throws:
Exception- if doing the backup or restoring it fails
-
testFullRestoreMultipleDNECommand
Verify that restore fails on multiple tables that do not exist.- Throws:
Exception- if doing the backup or restoring it fails
-