public class TestRSKilledWhenInitializing extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TestRSKilledWhenInitializing.RegisterAndDieRegionServer
A RegionServer that reports for duty and then immediately dies if it is the first to receive
the response to a reportForDuty.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static AtomicReference<org.apache.hadoop.hbase.ServerName> |
killedRS |
private static org.slf4j.Logger |
LOG |
private static AtomicBoolean |
masterActive |
private static int |
NUM_MASTERS |
private static int |
NUM_RS |
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
TestRSKilledWhenInitializing() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread |
startMaster(org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread master)
Start Master.
|
void |
testRSTerminationAfterRegisteringToMasterBeforeCreatingEphemeralNode()
Test verifies whether a region server is removed from online servers list in master if it went
down after registering with master.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName testName
private static AtomicBoolean masterActive
private static final AtomicReference<org.apache.hadoop.hbase.ServerName> killedRS
private static final int NUM_MASTERS
private static final int NUM_RS
public TestRSKilledWhenInitializing()
public void testRSTerminationAfterRegisteringToMasterBeforeCreatingEphemeralNode() throws Exception
Exception
private org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread startMaster(org.apache.hadoop.hbase.util.JVMClusterUtil.MasterThread master)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.