public class TestClusterRestartFailover extends AbstractTestRestartCluster
Modifier and Type | Class and Description |
---|---|
private static class |
TestClusterRestartFailover.AssignmentManagerForTest |
static class |
TestClusterRestartFailover.HMasterForTest |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static MetricsAssertHelper |
metricsHelper |
private static CountDownLatch |
SCP_LATCH |
private static org.apache.hadoop.hbase.ServerName |
SERVER_FOR_TEST |
FAMILY, TABLES, UTIL
Constructor and Description |
---|
TestClusterRestartFailover() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.master.assignment.ServerStateNode |
getServerStateNode(org.apache.hadoop.hbase.ServerName serverName) |
private void |
setupCluster() |
private void |
setupTable() |
protected boolean |
splitWALCoordinatedByZk() |
void |
test()
Test for HBASE-22964
|
setUp, tearDown
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final MetricsAssertHelper metricsHelper
private static volatile CountDownLatch SCP_LATCH
private static org.apache.hadoop.hbase.ServerName SERVER_FOR_TEST
public TestClusterRestartFailover()
protected boolean splitWALCoordinatedByZk()
splitWALCoordinatedByZk
in class AbstractTestRestartCluster
private org.apache.hadoop.hbase.master.assignment.ServerStateNode getServerStateNode(org.apache.hadoop.hbase.ServerName serverName)
private void setupCluster() throws Exception
Exception
private void setupTable() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.