public class TestRollingRestart extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
boolean |
splitWALCoordinatedByZK |
Constructor and Description |
---|
TestRollingRestart() |
Modifier and Type | Method and Description |
---|---|
private void |
assertRegionsAssigned(MiniHBaseCluster cluster,
Set<String> expectedRegions) |
static Collection |
coordinatedByZK() |
private NavigableSet<String> |
getDoubleAssignedRegions(MiniHBaseCluster cluster) |
private int |
getNumberOfOnlineRegions(MiniHBaseCluster cluster) |
private void |
log(String msg) |
void |
testBasicRollingRestart() |
private void |
waitForRSShutdownToStartAndFinish(org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread activeMaster,
org.apache.hadoop.hbase.ServerName serverName) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
public boolean splitWALCoordinatedByZK
public TestRollingRestart()
public void testBasicRollingRestart() throws Exception
Exception
private void waitForRSShutdownToStartAndFinish(org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread activeMaster, org.apache.hadoop.hbase.ServerName serverName) throws InterruptedException
InterruptedException
private int getNumberOfOnlineRegions(MiniHBaseCluster cluster)
private void assertRegionsAssigned(MiniHBaseCluster cluster, Set<String> expectedRegions) throws IOException
IOException
private NavigableSet<String> getDoubleAssignedRegions(MiniHBaseCluster cluster) throws IOException
IOException
public static Collection coordinatedByZK()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.