public class TestSimpleRegionNormalizer extends Object
SimpleRegionNormalizer.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.master.MasterRpcServices |
masterRpcServices |
private static org.apache.hadoop.hbase.master.MasterServices |
masterServices |
org.junit.rules.TestName |
name |
private static org.apache.hadoop.hbase.master.normalizer.RegionNormalizer |
normalizer |
| Constructor and Description |
|---|
TestSimpleRegionNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeAllTests() |
protected void |
setupMocksForNormalizer(Map<byte[],Integer> regionSizes,
List<org.apache.hadoop.hbase.client.RegionInfo> RegionInfo) |
void |
testMergeOfSecondSmallestRegions() |
void |
testMergeOfSmallNonAdjacentRegions() |
void |
testMergeOfSmallRegions() |
void |
testNoNormalizationForMetaTable() |
void |
testNoNormalizationIfTooFewRegions() |
void |
testNoNormalizationOnNormalizedCluster() |
void |
testSplitOfLargeRegion() |
void |
testSplitWithTargetRegionCount() |
void |
testSplitWithTargetRegionSize() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static org.apache.hadoop.hbase.master.normalizer.RegionNormalizer normalizer
private static org.apache.hadoop.hbase.master.MasterServices masterServices
private static org.apache.hadoop.hbase.master.MasterRpcServices masterRpcServices
public org.junit.rules.TestName name
public TestSimpleRegionNormalizer()
public static void beforeAllTests() throws Exception
Exceptionpublic void testNoNormalizationForMetaTable() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testNoNormalizationIfTooFewRegions() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testNoNormalizationOnNormalizedCluster() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testMergeOfSmallRegions() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testMergeOfSecondSmallestRegions() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testMergeOfSmallNonAdjacentRegions() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testSplitOfLargeRegion() throws org.apache.hadoop.hbase.HBaseIOException
org.apache.hadoop.hbase.HBaseIOExceptionpublic void testSplitWithTargetRegionCount() throws Exception
Exceptionpublic void testSplitWithTargetRegionSize() throws Exception
Exceptionprotected void setupMocksForNormalizer(Map<byte[],Integer> regionSizes, List<org.apache.hadoop.hbase.client.RegionInfo> RegionInfo)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.