public class TestRegionMover1 extends Object
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static org.slf4j.Logger | 
LOG  | 
org.junit.rules.TestName | 
name  | 
private static HBaseTestingUtility | 
TEST_UTIL  | 
| Constructor and Description | 
|---|
TestRegionMover1()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setUp()  | 
static void | 
setUpBeforeClass()  | 
void | 
tearDown()  | 
static void | 
tearDownAfterClass()  | 
void | 
testDecomServerExclusion()  | 
void | 
testDecomServerExclusionWithAck()  | 
void | 
testDesignatedFile()  | 
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 | 
testExcludeAndDecomServers()  | 
void | 
testExcludeAndDesignated()  | 
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. 
 | 
private void | 
waitForServerDecom(org.apache.hadoop.hbase.regionserver.HRegionServer excludeServer)  | 
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
public TestRegionMover1()
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 testDesignatedFile() throws Exception
Exceptionpublic void testExcludeAndDesignated() throws Exception
Exceptionpublic void testRegionServerPort() throws Exception
Exceptionpublic void testLoadMetaRegion() throws Exception
Exceptionpublic void testTargetServerDeadWhenLoading() throws Exception
Exceptionpublic void testDecomServerExclusionWithAck() throws Exception
Exceptionprivate void waitForServerDecom(org.apache.hadoop.hbase.regionserver.HRegionServer excludeServer)
public void testDecomServerExclusion() throws Exception
Exceptionpublic void testExcludeAndDecomServers() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.