public class TestGlobalMemStoreSize extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private MiniHBaseCluster |
cluster |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
regionNum |
private static int |
regionServerNum |
private HBaseTestingUtility |
TEST_UTIL |
private static int |
totalRegionNum |
Constructor and Description |
---|
TestGlobalMemStoreSize() |
Modifier and Type | Method and Description |
---|---|
private void |
flush(org.apache.hadoop.hbase.regionserver.HRegion r,
org.apache.hadoop.hbase.regionserver.HRegionServer server)
Flush and log stats on flush
|
private List<org.apache.hadoop.hbase.regionserver.HRegionServer> |
getOnlineRegionServers() |
void |
testGlobalMemStore()
Test the global mem store size in the region server is equal to sum of each
region's mem store size
|
private void |
waitForAllRegionsAssigned()
Wait until all the regions are assigned.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static int regionServerNum
private static int regionNum
private static int totalRegionNum
private HBaseTestingUtility TEST_UTIL
private MiniHBaseCluster cluster
public org.junit.rules.TestName name
public TestGlobalMemStoreSize()
public void testGlobalMemStore() throws Exception
Exception
private void flush(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.regionserver.HRegionServer server) throws IOException
r
- server
- IOException
private List<org.apache.hadoop.hbase.regionserver.HRegionServer> getOnlineRegionServers()
private void waitForAllRegionsAssigned() throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.