Class TestRegionStateNodeLock

java.lang.Object
org.apache.hadoop.hbase.master.assignment.TestRegionStateNodeLock

public class TestRegionStateNodeLock extends Object
  • Field Details

    • CLASS_RULE

      public static final HBaseClassTestRule CLASS_RULE
    • regionInfo

      private final org.apache.hadoop.hbase.client.RegionInfo regionInfo
    • lock

      private org.apache.hadoop.hbase.master.assignment.RegionStateNodeLock lock
  • Constructor Details

  • Method Details

    • setUp

      public void setUp()
    • testLockByThread

      public void testLockByThread()
    • testLockByProc

      public void testLockByProc() throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
      Throws:
      org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
    • testLockProcThenThread

      public void testLockProcThenThread() throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
      Throws:
      org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
    • testLockThreadThenProc

      public void testLockThreadThenProc() throws org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
      Throws:
      org.apache.hadoop.hbase.procedure2.ProcedureSuspendedException
    • testLockMultiThread

      Throws:
      InterruptedException