public class TestRegionMover extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestRegionMover() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testExclude()
To test that we successfully exclude a server from the unloading process We test for the number
of regions on Excluded server and also test that regions are unloaded successfully
|
void |
testLoadMetaRegion()
UT for HBASE-21746
|
void |
testRegionServerPort() |
void |
testTargetServerDeadWhenLoading()
UT for HBASE-21746
|
void |
testWithAck() |
void |
testWithoutAck()
Test to unload a regionserver first and then load it using no Ack mode.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
public TestRegionMover()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testWithAck() throws Exception
Exceptionpublic void testWithoutAck() throws Exception
Exceptionpublic void testExclude() throws Exception
Exceptionpublic void testRegionServerPort()
public void testLoadMetaRegion() throws Exception
Exceptionpublic void testTargetServerDeadWhenLoading() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.