Package org.apache.hadoop.hbase.io.hfile
Class TestScannerFromBucketCache
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestScannerFromBucketCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate static final org.slf4j.Loggerprivate final intorg.junit.rules.TestName(package private) org.apache.hadoop.hbase.regionserver.HRegionprivate org.apache.hadoop.hbase.TableNameprivate HBaseTestingUtility(package private) byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) StringgetName()private static org.apache.hadoop.hbase.regionserver.HRegioninitHRegion(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.HRegioninitHRegion(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 voidsetUp(boolean useBucketCache) voidtearDown()voidvoidvoid
-
Field Details
-
Constructor Details
-
TestScannerFromBucketCache
public TestScannerFromBucketCache()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
Exception
-
getName
-
testBasicScanWithLRUCache
- Throws:
IOException
-
testBasicScanWithOffheapBucketCache
- Throws:
IOException
-
testBasicScanWithOffheapBucketCacheWithMBB
- Throws:
IOException
-
insertData
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 - Throws:
IOException
-
performScan
- Throws:
IOException
-
initHRegion
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 - Throws:
IOException
-
initHRegion
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 - Throws:
IOException
-