Class TestProcedureFuture

java.lang.Object
org.apache.hadoop.hbase.client.TestProcedureFuture

public class TestProcedureFuture extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • testWithProcId

      public void testWithProcId() throws Exception
      When a master return a result with procId, we are skipping the waitOperationResult() call, since we are getting the procedure result.
      Throws:
      Exception
    • testWithProcIdAndSpinning

      public void testWithProcIdAndSpinning() throws Exception
      Verify that the spin loop for the procedure running works.
      Throws:
      Exception
    • testWithoutProcId

      public void testWithoutProcId() throws Exception
      When a master return a result without procId, we are skipping the getProcedureResult() call.
      Throws:
      Exception
    • testOnServerWithNoProcedureSupport

      When a new client with procedure support tries to ask an old-master without proc-support the procedure result we get a DoNotRetryIOException (which is an UnsupportedOperationException) The future should trap that and fallback to the waitOperationResult(). This happens when the operation calls happens on a "new master" but while we are waiting the operation to be completed, we failover on an "old master".
      Throws:
      Exception