Class TestRemoteRestore

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

public class TestRemoteRestore extends TestBackupBase
  • Field Details

  • Constructor Details

  • Method Details

    • setUp

      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

      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