public class TestBackupDeleteWithFailures extends TestBackupBase
Modifier and Type | Class and Description |
---|---|
static class |
TestBackupDeleteWithFailures.Failure |
static class |
TestBackupDeleteWithFailures.MasterSnapshotObserver |
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 |
---|
TestBackupDeleteWithFailures() |
Modifier and Type | Method and Description |
---|---|
private TestBackupDeleteWithFailures.MasterSnapshotObserver |
getMasterSnapshotObserver() |
static void |
setUp()
Setup Cluster with appropriate configurations before running tests.
|
void |
testBackupDeleteWithFailures() |
private void |
testBackupDeleteWithFailuresAfter(int expected,
TestBackupDeleteWithFailures.Failure... failures) |
backupTables, checkFailed, checkSucceeded, createBackupRequest, createTables, dumpBackupDir, fullTableBackup, getBackupAdmin, getListOfWALFiles, incrementalTableBackup, insertIntoTable, loadTable, setUpHelper, tearDown, toList
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public TestBackupDeleteWithFailures()
public static void setUp() throws Exception
Exception
- if starting the mini cluster or setting up the tables failsprivate TestBackupDeleteWithFailures.MasterSnapshotObserver getMasterSnapshotObserver()
public void testBackupDeleteWithFailures() throws Exception
Exception
private void testBackupDeleteWithFailuresAfter(int expected, TestBackupDeleteWithFailures.Failure... failures) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.