public class TestRetainAssignmentOnRestart extends AbstractTestRestartCluster
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestRetainAssignmentOnRestart.HMasterForTest  | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.slf4j.Logger | 
LOG  | 
private static int | 
NUM_OF_RS  | 
FAMILY, TABLES, UTIL| Constructor and Description | 
|---|
TestRetainAssignmentOnRestart()  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
ensureServersWithSamePort(org.apache.hadoop.hbase.master.HMaster master,
                         int[] rsPorts)  | 
private void | 
setupCluster()  | 
protected boolean | 
splitWALCoordinatedByZk()  | 
void | 
testRetainAssignmentOnClusterRestart()
This tests retaining assignments on a cluster restart 
 | 
void | 
testRetainAssignmentOnSingleRSRestart()
This tests retaining assignments on a single node restart 
 | 
setUp, tearDownpublic static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static int NUM_OF_RS
public TestRetainAssignmentOnRestart()
protected boolean splitWALCoordinatedByZk()
splitWALCoordinatedByZk in class AbstractTestRestartClusterpublic void testRetainAssignmentOnClusterRestart() throws Exception
Exceptionpublic void testRetainAssignmentOnSingleRSRestart() throws Exception
Exceptionprivate void setupCluster() throws Exception, IOException, InterruptedException
ExceptionIOExceptionInterruptedExceptionprivate void ensureServersWithSamePort(org.apache.hadoop.hbase.master.HMaster master, int[] rsPorts)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.