Class ClearRegionBlockCacheTestBase
java.lang.Object
org.apache.hadoop.hbase.regionserver.ClearRegionBlockCacheTestBase
- Direct Known Subclasses:
TestClearRegionBlockCache,TestClearRegionBlockCacheWithBucketCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[]private static HBaseTestingUtilprivate static final intprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static final byte[][]private static org.apache.hadoop.hbase.TableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidprivate voidclearRegionBlockCache(org.apache.hadoop.hbase.regionserver.HRegionServer rs) private voidscanAllRegionsForRS(org.apache.hadoop.hbase.regionserver.HRegionServer rs) protected static voidsetUpBucketCacheCluster(org.apache.hadoop.hbase.TableName testTableName) protected static voidsetUpCluster(org.apache.hadoop.hbase.TableName testTableName) private static voidsetUpCluster(org.apache.hadoop.hbase.TableName testTableName, boolean bucketCache) protected static void(package private) void(package private) void(package private) void
-
Field Details
-
FAMILY
-
SPLIT_KEY
-
NUM_RS
- See Also:
-
tableName
-
htu
-
rs1
-
rs2
-
-
Constructor Details
-
ClearRegionBlockCacheTestBase
public ClearRegionBlockCacheTestBase()
-
-
Method Details
-
setUpCluster
protected static void setUpCluster(org.apache.hadoop.hbase.TableName testTableName) throws Exception - Throws:
Exception
-
setUpBucketCacheCluster
protected static void setUpBucketCacheCluster(org.apache.hadoop.hbase.TableName testTableName) throws Exception - Throws:
Exception
-
setUpCluster
private static void setUpCluster(org.apache.hadoop.hbase.TableName testTableName, boolean bucketCache) throws Exception - Throws:
Exception
-
tearDownCluster
- Throws:
Exception
-
clearBlockCacheBeforeTest
-
testClearBlockCache
- Throws:
Exception
-
testClearBlockCacheFromAdmin
- Throws:
Exception
-
testClearBlockCacheFromAsyncAdmin
- Throws:
Exception
-
scanAllRegionsForRS
private void scanAllRegionsForRS(org.apache.hadoop.hbase.regionserver.HRegionServer rs) throws IOException - Throws:
IOException
-
clearRegionBlockCache
-