Package org.apache.hadoop.hbase
Class TestClusterBootOrder
java.lang.Object
org.apache.hadoop.hbase.TestClusterBootOrder
Tests the boot order indifference between regionserver and master
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.hbase.LocalHBaseCluster
private org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread
private org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread
private static final long
private static final long
private HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
private void
private void
void
tearDown()
void
Tests launching the cluster by first starting master, and then the regionserver to ensure that it does not matter which is started first.void
Tests launching the cluster by first starting regionserver, and then the master to ensure that it does not matter which is started first.private void
-
Field Details
-
CLASS_RULE
-
SLEEP_INTERVAL
- See Also:
-
SLEEP_TIME
- See Also:
-
testUtil
-
cluster
-
rs
-
master
-
-
Constructor Details
-
TestClusterBootOrder
public TestClusterBootOrder()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
startRegionServer
- Throws:
Exception
-
startMaster
- Throws:
Exception
-
waitForClusterOnline
-
testBootRegionServerFirst
Tests launching the cluster by first starting regionserver, and then the master to ensure that it does not matter which is started first.- Throws:
Exception
-
testBootMasterFirst
Tests launching the cluster by first starting master, and then the regionserver to ensure that it does not matter which is started first.- Throws:
Exception
-