public class TestRegionLoad extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static int |
MSG_INTERVAL |
private static org.apache.hadoop.hbase.TableName |
TABLE_1 |
private static org.apache.hadoop.hbase.TableName |
TABLE_2 |
private static org.apache.hadoop.hbase.TableName |
TABLE_3 |
private static org.apache.hadoop.hbase.TableName[] |
tables |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestRegionLoad() |
Modifier and Type | Method and Description |
---|---|
static void |
afterClass() |
static void |
beforeClass() |
private void |
checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.HRegionInfo> regions,
Collection<org.apache.hadoop.hbase.RegionLoad> regionLoads) |
private void |
compareRegionLoads(Map<byte[],org.apache.hadoop.hbase.RegionLoad> regionLoadCluster,
Map<byte[],org.apache.hadoop.hbase.RegionLoad> regionLoads) |
private static void |
createTables() |
void |
testRegionLoad() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.client.Admin admin
private static final org.apache.hadoop.hbase.TableName TABLE_1
private static final org.apache.hadoop.hbase.TableName TABLE_2
private static final org.apache.hadoop.hbase.TableName TABLE_3
private static final org.apache.hadoop.hbase.TableName[] tables
private static final int MSG_INTERVAL
public TestRegionLoad()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
private static void createTables() throws IOException, InterruptedException
IOException
InterruptedException
public void testRegionLoad() throws Exception
Exception
private void compareRegionLoads(Map<byte[],org.apache.hadoop.hbase.RegionLoad> regionLoadCluster, Map<byte[],org.apache.hadoop.hbase.RegionLoad> regionLoads)
private void checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.HRegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionLoad> regionLoads)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.