Package org.apache.hadoop.hbase.client
Class TestBlockEvictionFromClient
java.lang.Object
org.apache.hadoop.hbase.client.TestBlockEvictionFromClient
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classstatic classprivate static classprivate static classprivate static classprivate static class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static CountDownLatchprivate static byte[]private static byte[]private static CountDownLatchprivate static byte[][]private static byte[]private static CountDownLatchprivate static CountDownLatchprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static intprivate static byte[]private static byte[]private static byte[]private static byte[]private static byte[]private static byte[](package private) static byte[][]protected static intprotected static final HBaseTestingUtility
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidcheckForBlockEviction(org.apache.hadoop.hbase.io.hfile.BlockCache cache, boolean getClosed, boolean expectOnlyZero) private TestBlockEvictionFromClient.GetThread[]initiateGet(org.apache.hadoop.hbase.client.Table table, boolean tracker, boolean multipleCFs) initiateMultiGet(org.apache.hadoop.hbase.client.Table table) private TestBlockEvictionFromClient.ScanThread[]initiateScan(org.apache.hadoop.hbase.client.Table table, boolean reverse) private voidinsertData(org.apache.hadoop.hbase.client.Table table) private voiditerateBlockCache(org.apache.hadoop.hbase.io.hfile.BlockCache cache, Iterator<org.apache.hadoop.hbase.io.hfile.CachedBlock> iterator) private org.apache.hadoop.hbase.io.hfile.BlockCachesetCacheProperties(org.apache.hadoop.hbase.regionserver.HRegion region) voidsetUp()static voidvoidtearDown()static voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate voidtestScanWithCompactionInternals(String tableNameStr, boolean reversed) voidvoidprivate voidwaitForStoreFileCount(org.apache.hadoop.hbase.regionserver.HStore store, int count, int timeout) 
- 
Field Details- 
CLASS_RULE
- 
LOG
- 
TEST_UTIL
- 
ROWS
- 
NO_OF_THREADS
- 
ROW
- 
ROW1
- 
ROW2
- 
ROW3
- 
FAMILY
- 
FAMILIES_1
- 
QUALIFIER
- 
QUALIFIER2
- 
data
- 
data2
- 
SLAVES
- 
latch
- 
getLatch
- 
compactionLatch
- 
exceptionLatch
- 
name
 
- 
- 
Constructor Details- 
TestBlockEvictionFromClientpublic TestBlockEvictionFromClient()
 
- 
- 
Method Details- 
setUpBeforeClass- Throws:
- Exception
 
- 
tearDownAfterClass- Throws:
- Exception
 
- 
setUp- Throws:
- Exception
 
- 
tearDown- Throws:
- Exception
 
- 
testBlockEvictionWithParallelScans- Throws:
- Exception
 
- 
testParallelGetsAndScans- Throws:
- IOException
- InterruptedException
 
- 
testGetWithCellsInDifferentFiles- Throws:
- IOException
- InterruptedException
 
- 
testGetsWithMultiColumnsAndExplicitTracker- Throws:
- IOException
- InterruptedException
 
- 
testGetWithMultipleColumnFamilies- Throws:
- IOException
- InterruptedException
 
- 
testBlockRefCountAfterSplits- Throws:
- IOException
- InterruptedException
 
- 
testMultiGets- Throws:
- IOException
- InterruptedException
 
- 
testScanWithMultipleColumnFamilies- Throws:
- IOException
- InterruptedException
 
- 
setCachePropertiesprivate org.apache.hadoop.hbase.io.hfile.BlockCache setCacheProperties(org.apache.hadoop.hbase.regionserver.HRegion region) 
- 
testParallelGetsAndScanWithWrappedRegionScannerpublic void testParallelGetsAndScanWithWrappedRegionScanner() throws IOException, InterruptedException- Throws:
- IOException
- InterruptedException
 
- 
testScanWithCompaction- Throws:
- IOException
- InterruptedException
 
- 
testReverseScanWithCompaction- Throws:
- IOException
- InterruptedException
 
- 
testScanWithCompactionInternalsprivate void testScanWithCompactionInternals(String tableNameStr, boolean reversed) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
- 
testBlockEvictionAfterHBASE13082WithCompactionAndFlushpublic void testBlockEvictionAfterHBASE13082WithCompactionAndFlush() throws IOException, InterruptedException- Throws:
- IOException
- InterruptedException
 
- 
testScanWithException- Throws:
- IOException
- InterruptedException
 
- 
iterateBlockCacheprivate void iterateBlockCache(org.apache.hadoop.hbase.io.hfile.BlockCache cache, Iterator<org.apache.hadoop.hbase.io.hfile.CachedBlock> iterator) 
- 
insertData- Throws:
- IOException
 
- 
initiateScanprivate TestBlockEvictionFromClient.ScanThread[] initiateScan(org.apache.hadoop.hbase.client.Table table, boolean reverse) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
- 
initiateGetprivate TestBlockEvictionFromClient.GetThread[] initiateGet(org.apache.hadoop.hbase.client.Table table, boolean tracker, boolean multipleCFs) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
- 
initiateMultiGetprivate TestBlockEvictionFromClient.MultiGetThread[] initiateMultiGet(org.apache.hadoop.hbase.client.Table table) throws IOException, InterruptedException - Throws:
- IOException
- InterruptedException
 
- 
checkForBlockEvictionprivate void checkForBlockEviction(org.apache.hadoop.hbase.io.hfile.BlockCache cache, boolean getClosed, boolean expectOnlyZero) throws InterruptedException - Throws:
- InterruptedException
 
- 
waitForStoreFileCountprivate void waitForStoreFileCount(org.apache.hadoop.hbase.regionserver.HStore store, int count, int timeout) throws InterruptedException - Throws:
- InterruptedException
 
 
-