Class TestSnapshotProcedure

java.lang.Object
org.apache.hadoop.hbase.master.procedure.TestSnapshotProcedure
Direct Known Subclasses:
TestSnapshotProcedureBasicSnapshot, TestSnapshotProcedureConcurrently, TestSnapshotProcedureMasterRestarts, TestSnapshotProcedureRIT, TestSnapshotProcedureRSCrashes, TestSnapshotProcedureSnapshotCorrupted

public class TestSnapshotProcedure extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setup

      public void setup() throws Exception
      Throws:
      Exception
    • waitProcedureRunnableAndGetFirst

      public <T extends org.apache.hadoop.hbase.procedure2.Procedure<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv>> T waitProcedureRunnableAndGetFirst(Class<T> clazz, long timeout) throws IOException
      Throws:
      IOException
    • getDelayedOnSpecificStateSnapshotProcedure

      protected org.apache.hadoop.hbase.master.procedure.SnapshotProcedure getDelayedOnSpecificStateSnapshotProcedure(org.apache.hadoop.hbase.master.procedure.SnapshotProcedure sp, org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv env, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.SnapshotState state) throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException, org.apache.hadoop.hbase.procedure2.ProcedureYieldException, InterruptedException
      Throws:
      org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
      org.apache.hadoop.hbase.procedure2.ProcedureYieldException
      InterruptedException
    • teardown

      public void teardown() throws Exception
      Throws:
      Exception