Package org.apache.hadoop.hbase.backup
Class TestBackupBoundaryTests
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupBase
org.apache.hadoop.hbase.backup.TestBackupBoundaryTests
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.backup.TestBackupBase
TestBackupBase.FullTableBackupClientForTest, TestBackupBase.IncrementalTableBackupClientForTest
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Verify that full backup fails on tableset containing real and fake tables.void
Verify that full backup fails on multiple tables that do not exist.void
Verify that full backup is created on multiple empty tables correctly.void
Verify that full backup fails on a single table that does not exist.void
Verify that full backup is created on a single empty table correctly.Methods 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
-
TestBackupBoundaryTests
public TestBackupBoundaryTests()
-
-
Method Details
-
testFullBackupSingleEmpty
Verify that full backup is created on a single empty table correctly.- Throws:
Exception
- if doing the full backup fails
-
testFullBackupMultipleEmpty
Verify that full backup is created on multiple empty tables correctly.- Throws:
Exception
- if doing the full backup fails
-
testFullBackupSingleDNE
Verify that full backup fails on a single table that does not exist.- Throws:
Exception
- if doing the full backup fails
-
testFullBackupMultipleDNE
Verify that full backup fails on multiple tables that do not exist.- Throws:
Exception
- if doing the full backup fails
-
testFullBackupMixExistAndDNE
Verify that full backup fails on tableset containing real and fake tables.- Throws:
Exception
- if doing the full backup fails
-