public class TestAvoidCellReferencesIntoShippedBlocks extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestAvoidCellReferencesIntoShippedBlocks.CompactorInternalScanner |
static class |
TestAvoidCellReferencesIntoShippedBlocks.CompactorRegionObserver |
private static class |
TestAvoidCellReferencesIntoShippedBlocks.ScannerThread |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static CountDownLatch |
compactReadLatch |
private static byte[] |
data |
private static AtomicBoolean |
doScan |
private static byte[][] |
FAMILIES_1 |
private static byte[] |
FAMILY |
private CountDownLatch |
latch |
org.junit.rules.TestName |
name |
private static byte[] |
QUALIFIER |
private static byte[] |
QUALIFIER1 |
private static byte[] |
ROW |
private static byte[] |
ROW1 |
private static byte[] |
ROW2 |
private static byte[] |
ROW3 |
private static byte[] |
ROW4 |
private static byte[] |
ROW5 |
(package private) static byte[][] |
ROWS |
protected static int |
SLAVES |
protected static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestAvoidCellReferencesIntoShippedBlocks() |
Modifier and Type | Method and Description |
---|---|
private void |
evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCache blockCache,
org.apache.hadoop.hbase.io.hfile.BlockCacheKey blockCacheKey)
For
BucketCache ,we only evict Block if there is no rpc referenced. |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testHBase16372InCompactionWritePath() |
void |
testHBASE16372InReadPath() |
public static final HBaseClassTestRule CLASS_RULE
protected static final HBaseTestingUtility TEST_UTIL
static byte[][] ROWS
private static byte[] ROW
private static byte[] ROW1
private static byte[] ROW2
private static byte[] ROW3
private static byte[] ROW4
private static byte[] ROW5
private static byte[] FAMILY
private static byte[][] FAMILIES_1
private static byte[] QUALIFIER
private static byte[] QUALIFIER1
private static byte[] data
protected static int SLAVES
private CountDownLatch latch
private static CountDownLatch compactReadLatch
private static AtomicBoolean doScan
public org.junit.rules.TestName name
public TestAvoidCellReferencesIntoShippedBlocks()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testHBase16372InCompactionWritePath() throws Exception
Exception
public void testHBASE16372InReadPath() throws Exception
Exception
private void evictBlock(org.apache.hadoop.hbase.io.hfile.BlockCache blockCache, org.apache.hadoop.hbase.io.hfile.BlockCacheKey blockCacheKey)
BucketCache
,we only evict Block if there is no rpc referenced.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.