public class TestRegionMover2 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 HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestRegionMover2() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.ServerName |
findDestinationServerName(org.apache.hadoop.hbase.ServerName sourceServerName) |
org.apache.hadoop.hbase.ServerName |
findMetaRSLocation() |
org.apache.hadoop.hbase.ServerName |
findSourceServerName(org.apache.hadoop.hbase.TableName tableName) |
void |
loadDummyDataInTable(org.apache.hadoop.hbase.TableName tableName) |
void |
regionIsolationOperation(org.apache.hadoop.hbase.ServerName sourceServerName,
org.apache.hadoop.hbase.ServerName destinationServerName,
int numRegionsToIsolate,
boolean isolateMetaAlso) |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testFailedRegionMove() |
void |
testIsolateMetaAndRandomRegionOnTheMetaServer() |
void |
testIsolateMetaAndRandomRegionOnTheRandomServer() |
void |
testIsolateMetaOnTheDifferentServer() |
void |
testIsolateMetaOnTheSameSever() |
void |
testIsolateMultipleRegionsOnTheDifferentServer() |
void |
testIsolateMultipleRegionsOnTheSameServer() |
void |
testIsolateSingleRegionOnTheDifferentServer() |
void |
testIsolateSingleRegionOnTheSameServer() |
void |
testWithMergedRegions() |
void |
testWithSplitRegions() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtil TEST_UTIL
public TestRegionMover2()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testWithMergedRegions() throws Exception
Exception
public void testWithSplitRegions() throws Exception
Exception
public void testFailedRegionMove() throws Exception
Exception
public void loadDummyDataInTable(org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
public void testIsolateSingleRegionOnTheSameServer() throws Exception
Exception
public void testIsolateSingleRegionOnTheDifferentServer() throws Exception
Exception
public void testIsolateMultipleRegionsOnTheSameServer() throws Exception
Exception
public void testIsolateMultipleRegionsOnTheDifferentServer() throws Exception
Exception
public void testIsolateMetaOnTheSameSever() throws Exception
Exception
public void testIsolateMetaOnTheDifferentServer() throws Exception
Exception
public void testIsolateMetaAndRandomRegionOnTheMetaServer() throws Exception
Exception
public void testIsolateMetaAndRandomRegionOnTheRandomServer() throws Exception
Exception
public org.apache.hadoop.hbase.ServerName findMetaRSLocation() throws Exception
Exception
public org.apache.hadoop.hbase.ServerName findSourceServerName(org.apache.hadoop.hbase.TableName tableName) throws Exception
Exception
public org.apache.hadoop.hbase.ServerName findDestinationServerName(org.apache.hadoop.hbase.ServerName sourceServerName) throws Exception
Exception
public void regionIsolationOperation(org.apache.hadoop.hbase.ServerName sourceServerName, org.apache.hadoop.hbase.ServerName destinationServerName, int numRegionsToIsolate, boolean isolateMetaAlso) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.