Package org.apache.hadoop.hbase.master
Class TestRetainAssignmentOnRestart
java.lang.Object
org.apache.hadoop.hbase.master.AbstractTestRestartCluster
org.apache.hadoop.hbase.master.TestRetainAssignmentOnRestart
- Direct Known Subclasses:
TestRetainAssignmentOnRestartSplitWithoutZk
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
private static int
Fields inherited from class org.apache.hadoop.hbase.master.AbstractTestRestartCluster
FAMILY, TABLES, UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
ensureServersWithSamePort
(org.apache.hadoop.hbase.master.HMaster master, int[] rsPorts) private void
protected boolean
void
This tests the force retaining assignments upon an RS restart, even when master triggers an SCPvoid
This tests retaining assignments on a cluster restartvoid
This tests retaining assignments on a single node restartMethods inherited from class org.apache.hadoop.hbase.master.AbstractTestRestartCluster
setUp, tearDown
-
Field Details
-
CLASS_RULE
-
LOG
-
NUM_OF_RS
-
-
Constructor Details
-
TestRetainAssignmentOnRestart
public TestRetainAssignmentOnRestart()
-
-
Method Details
-
splitWALCoordinatedByZk
- Specified by:
splitWALCoordinatedByZk
in classAbstractTestRestartCluster
-
testRetainAssignmentOnClusterRestart
This tests retaining assignments on a cluster restart- Throws:
Exception
-
testRetainAssignmentOnSingleRSRestart
This tests retaining assignments on a single node restart- Throws:
Exception
-
testForceRetainAssignment
This tests the force retaining assignments upon an RS restart, even when master triggers an SCP- Throws:
Exception
-
setupCluster
- Throws:
Exception
IOException
InterruptedException
-
ensureServersWithSamePort
private void ensureServersWithSamePort(org.apache.hadoop.hbase.master.HMaster master, int[] rsPorts)
-