Package org.apache.hadoop.hbase.backup
Class TestIncrementalBackupWithBulkLoad
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupBase
org.apache.hadoop.hbase.backup.TestIncrementalBackupWithBulkLoad
This test checks whether backups properly track & manage bulk files loads.
-
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 intprivate static final StringFields 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 TypeMethodDescriptionprivate booleancontainsRowWithKey(org.apache.hadoop.hbase.client.Table table, String rowKey) private voidperformBulkLoad(String keyPrefix) voidvoidvoidMethods 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
-
TEST_NAME
-
ROWS_IN_BULK_LOAD
- See Also:
-
-
Constructor Details
-
TestIncrementalBackupWithBulkLoad
public TestIncrementalBackupWithBulkLoad()
-
-
Method Details
-
TestIncBackupDeleteTable
- Throws:
Exception
-
containsRowWithKey
private boolean containsRowWithKey(org.apache.hadoop.hbase.client.Table table, String rowKey) throws IOException - Throws:
IOException
-
testUpdateFileListsRaceCondition
- Throws:
Exception
-
testUpdateFileListsMissingArchivedFile
- Throws:
Exception
-
performBulkLoad
- Throws:
IOException
-