public class TestMigrateReplicationQueueFromZkToTableProcedure extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestMigrateReplicationQueueFromZkToTableProcedure.FakePeerProcedure |
static class |
TestMigrateReplicationQueueFromZkToTableProcedure.HMasterForTest |
static class |
TestMigrateReplicationQueueFromZkToTableProcedure.ServerManagerForTest |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static ConcurrentMap<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.ServerMetrics> |
EXTRA_REGION_SERVERS |
private static CountDownLatch |
PEER_PROC_ARRIVE |
private static CountDownLatch |
PEER_PROC_RESUME |
private static HBaseTestingUtil |
UTIL |
Constructor and Description |
---|
TestMigrateReplicationQueueFromZkToTableProcedure() |
Modifier and Type | Method and Description |
---|---|
static void |
cleanupTest() |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> |
getMasterProcedureExecutor() |
static void |
setupCluster() |
void |
tearDown() |
void |
testDisablePeerAndWaitStates() |
void |
testWaitUntilNoPeerProcedure() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil UTIL
private static final ConcurrentMap<org.apache.hadoop.hbase.ServerName,org.apache.hadoop.hbase.ServerMetrics> EXTRA_REGION_SERVERS
private static CountDownLatch PEER_PROC_ARRIVE
private static CountDownLatch PEER_PROC_RESUME
public TestMigrateReplicationQueueFromZkToTableProcedure()
public static void setupCluster() throws Exception
Exception
public static void cleanupTest() throws Exception
Exception
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv> getMasterProcedureExecutor()
public void testWaitUntilNoPeerProcedure() throws Exception
Exception
public void testDisablePeerAndWaitStates() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.