public class TestScannerFromBucketCache extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private static org.slf4j.Logger |
LOG |
private int |
MAX_VERSIONS |
org.junit.rules.TestName |
name |
(package private) org.apache.hadoop.hbase.regionserver.HRegion |
region |
private org.apache.hadoop.hbase.TableName |
tableName |
private HBaseTestingUtility |
test_util |
(package private) byte[] |
val |
Constructor and Description |
---|
TestScannerFromBucketCache() |
Modifier and Type | Method and Description |
---|---|
(package private) String |
getName() |
private static org.apache.hadoop.hbase.regionserver.HRegion |
initHRegion(org.apache.hadoop.hbase.TableName tableName,
byte[] startKey,
byte[] stopKey,
String callingMethod,
org.apache.hadoop.conf.Configuration conf,
HBaseTestingUtility testUtil,
boolean isReadOnly,
byte[]... families) |
private static org.apache.hadoop.hbase.regionserver.HRegion |
initHRegion(org.apache.hadoop.hbase.TableName tableName,
String callingMethod,
org.apache.hadoop.conf.Configuration conf,
HBaseTestingUtility test_util,
byte[]... families) |
private List<org.apache.hadoop.hbase.Cell> |
insertData(byte[] row1,
byte[] qf1,
byte[] qf2,
byte[] fam1,
long ts1,
long ts2,
long ts3,
boolean withVal) |
private List<org.apache.hadoop.hbase.Cell> |
performScan(byte[] row1,
byte[] fam1) |
private void |
setUp(boolean useBucketCache) |
void |
tearDown() |
void |
testBasicScanWithLRUCache() |
void |
testBasicScanWithOffheapBucketCache() |
void |
testBasicScanWithOffheapBucketCacheWithMBB() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
public org.junit.rules.TestName name
org.apache.hadoop.hbase.regionserver.HRegion region
private HBaseTestingUtility test_util
private org.apache.hadoop.conf.Configuration conf
private final int MAX_VERSIONS
byte[] val
private org.apache.hadoop.hbase.TableName tableName
public TestScannerFromBucketCache()
private void setUp(boolean useBucketCache) throws IOException
IOException
public void testBasicScanWithLRUCache() throws IOException
IOException
public void testBasicScanWithOffheapBucketCache() throws IOException
IOException
public void testBasicScanWithOffheapBucketCacheWithMBB() throws IOException
IOException
private List<org.apache.hadoop.hbase.Cell> insertData(byte[] row1, byte[] qf1, byte[] qf2, byte[] fam1, long ts1, long ts2, long ts3, boolean withVal) throws IOException
IOException
private List<org.apache.hadoop.hbase.Cell> performScan(byte[] row1, byte[] fam1) throws IOException
IOException
private static org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.TableName tableName, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtility test_util, byte[]... families) throws IOException
IOException
private static org.apache.hadoop.hbase.regionserver.HRegion initHRegion(org.apache.hadoop.hbase.TableName tableName, byte[] startKey, byte[] stopKey, String callingMethod, org.apache.hadoop.conf.Configuration conf, HBaseTestingUtility testUtil, boolean isReadOnly, byte[]... families) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.