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, tearDown
public 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 AbstractTestRestartCluster
public void testRetainAssignmentOnClusterRestart() throws Exception
Exception
public void testRetainAssignmentOnSingleRSRestart() throws Exception
Exception
private void setupCluster() throws Exception, IOException, InterruptedException
Exception
IOException
InterruptedException
private void ensureServersWithSamePort(org.apache.hadoop.hbase.master.HMaster master, int[] rsPorts)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.