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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testWithAck() throws Exception
Exception
public void testWithoutAck() throws Exception
Exception
public void testExclude() throws Exception
Exception
public void testDesignatedFile() throws Exception
Exception
public void testExcludeAndDesignated() throws Exception
Exception
public void testRegionServerPort() throws Exception
Exception
public void testLoadMetaRegion() throws Exception
Exception
public void testTargetServerDeadWhenLoading() throws Exception
Exception
public void testDecomServerExclusionWithAck() throws Exception
Exception
private void waitForServerDecom(org.apache.hadoop.hbase.regionserver.HRegionServer excludeServer)
public void testDecomServerExclusion() throws Exception
Exception
public void testExcludeAndDecomServers() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.