Package org.apache.hadoop.hbase.backup
Class TestBackupDeleteWithFailures
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupBase
org.apache.hadoop.hbase.backup.TestBackupDeleteWithFailures
This class is only a base for other integration-level backup tests. Do not add tests here.
TestBackupSmallTests is where tests that don't require bring machines up/down should go All other
tests should have their own classes and extend this one
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classNested 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 TypeMethodDescriptionstatic voidsetUp()Setup Cluster with appropriate configurations before running tests.voidprivate voidtestBackupDeleteWithFailuresAfter(int expected, TestBackupDeleteWithFailures.Failure... failures) Methods inherited from class org.apache.hadoop.hbase.backup.TestBackupBase
backupTables, checkFailed, checkSucceeded, createBackupRequest, createTables, dumpBackupDir, fullTableBackup, getBackupAdmin, getListOfWALFiles, incrementalTableBackup, insertIntoTable, loadTable, setUpHelper, tearDown, toList
-
Field Details
-
CLASS_RULE
-
LOG
-
-
Constructor Details
-
TestBackupDeleteWithFailures
public TestBackupDeleteWithFailures()
-
-
Method Details
-
setUp
Setup Cluster with appropriate configurations before running tests.- Throws:
Exception- if starting the mini cluster or setting up the tables fails
-
getMasterSnapshotObserver
-
testBackupDeleteWithFailures
- Throws:
Exception
-
testBackupDeleteWithFailuresAfter
private void testBackupDeleteWithFailuresAfter(int expected, TestBackupDeleteWithFailures.Failure... failures) throws Exception - Throws:
Exception
-