public class TestRegionServerReportForDuty extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestRegionServerReportForDuty.MyRegionServer |
static class |
TestRegionServerReportForDuty.NeverInitializedMaster
This test HMaster class will always throw ServerNotRunningYetException if checked.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestRegionServerReportForDuty() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testReportForDutyBackoff()
Tests region server should backoff to report for duty if master is not ready.
|
void |
testReportForDutyWithMasterChange()
Tests region sever reportForDuty with backup master becomes primary master after
the first master goes away.
|
public static final HBaseClassTestRule CLASS_RULE
public TestRegionServerReportForDuty()
public void testReportForDutyBackoff() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testReportForDutyWithMasterChange() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.