Class TestBackupDelete

java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupBase
org.apache.hadoop.hbase.backup.TestBackupDelete

@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") public class TestBackupDelete extends TestBackupBase
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • testBackupDelete

      @Test public void testBackupDelete() throws Exception
      Verify that full backup is created on a single table with data correctly. Verify that history works as expected.
      Throws:
      Exception - if doing the backup or an operation on the tables fails
    • testBackupDeleteFailsWhenMarkerDeleteFails

      Verify that if the completion marker cannot be removed, then the backup delete fails before removing the backup's data or its system table record. Also verify retrying the backup delete succeeds.
      Throws:
      Exception - if doing the backup or an operation on the tables fails
    • testBackupDeleteCommand

      @Test public void testBackupDeleteCommand() throws Exception
      Verify that full backup is created on a single table with data correctly. Verify that history works as expected.
      Throws:
      Exception - if doing the backup or an operation on the tables fails
    • testBackupPurgeOldBackupsCommand

      @Test public void testBackupPurgeOldBackupsCommand() throws Exception
      Throws:
      Exception
    • testBackupDeleteUpdatesIncrementalBackupSet

      Verify that backup deletion updates the incremental-backup-set.
      Throws:
      Exception