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 |
testDecomServerExclusion() |
void |
testDecomServerExclusionWithAck() |
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 |
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
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility TEST_UTIL
public TestRegionMover()
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 testRegionServerPort()
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.