Class TestRemoteRestore

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

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

    • LOG

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

  • Method Details

    • setUp

      @BeforeAll public static void setUp() throws Exception
      Setup Cluster with appropriate configurations before running tests.
      Throws:
      Exception - if starting the mini cluster or setting up the tables fails
    • testFullRestoreRemote

      @Test public void testFullRestoreRemote() throws Exception
      Verify that a remote restore on a single table is successful.
      Throws:
      Exception - if doing the backup or an operation on the tables fails
    • testFullRestoreRemoteWithAlternateRestoreOutputDir

      Verify that restore jobs can be run on a standalone mapreduce cluster. Ensures hfiles output via MapReduceHFileSplitterJob exist on correct filesystem.
      Throws:
      Exception - if doing the backup or an operation on the tables fails