public class TestClearRegionBlockCache extends Object
Modifier and Type | Field and Description |
---|---|
String |
cacheType |
static HBaseClassTestRule |
CLASS_RULE |
private MiniHBaseCluster |
cluster |
private org.apache.hadoop.conf.Configuration |
CONF |
private static byte[] |
FAMILY |
private HBaseTestingUtility |
HTU |
private static org.slf4j.Logger |
LOG |
private static int |
NUM_RS |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
rs1 |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
rs2 |
private static byte[][] |
SPLIT_KEY |
private org.apache.hadoop.hbase.client.Table |
table |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
Constructor and Description |
---|
TestClearRegionBlockCache() |
Modifier and Type | Method and Description |
---|---|
private void |
clearRegionBlockCache(org.apache.hadoop.hbase.regionserver.HRegionServer rs) |
static Object[] |
data() |
private void |
scanAllRegionsForRS(org.apache.hadoop.hbase.regionserver.HRegionServer rs) |
void |
setup() |
void |
teardown() |
void |
testClearBlockCache() |
void |
testClearBlockCacheFromAdmin() |
void |
testClearBlockCacheFromAsyncAdmin() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
private static final byte[][] SPLIT_KEY
private static final int NUM_RS
private final HBaseTestingUtility HTU
private org.apache.hadoop.conf.Configuration CONF
private org.apache.hadoop.hbase.client.Table table
private org.apache.hadoop.hbase.regionserver.HRegionServer rs1
private org.apache.hadoop.hbase.regionserver.HRegionServer rs2
private MiniHBaseCluster cluster
public TestClearRegionBlockCache()
public void testClearBlockCache() throws Exception
Exception
public void testClearBlockCacheFromAdmin() throws Exception
Exception
public void testClearBlockCacheFromAsyncAdmin() throws Exception
Exception
private void scanAllRegionsForRS(org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws IOException
IOException
private void clearRegionBlockCache(org.apache.hadoop.hbase.regionserver.HRegionServer rs)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.