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 nnn 
 | 
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 n 
 | 
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
Exceptionprivate void flush(org.apache.hadoop.hbase.regionserver.HRegion r, org.apache.hadoop.hbase.regionserver.HRegionServer server) throws IOException
IOExceptionprivate List<org.apache.hadoop.hbase.regionserver.HRegionServer> getOnlineRegionServers()
private void waitForAllRegionsAssigned() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.