Class TestMasterFailover

java.lang.Object
org.apache.hadoop.hbase.master.TestMasterFailover

public class TestMasterFailover extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • testSimpleMasterFailover

      public void testSimpleMasterFailover() throws Exception
      Simple test of master failover.

      Starts with three masters. Kills a backup master. Then kills the active master. Ensures the final master becomes active and we can still contact the cluster.

      Throws:
      Exception
    • testMetaInTransitionWhenMasterFailover

      Test meta in transition when master failover. This test used to manipulate region state up in zk. That is not allowed any more in hbase2 so I removed that messing. That makes this test anemic.
      Throws:
      Exception