public class TestMetaCache extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestMetaCache.CallQueueTooBigExceptionInjector
Throws CallQueueTooBigException for all gets.
|
static class |
TestMetaCache.ExceptionInjector |
static class |
TestMetaCache.FakeRSRpcServices |
static class |
TestMetaCache.RegionServerWithFakeRpcServices |
static class |
TestMetaCache.RoundRobinExceptionInjector
Rotates through the possible cache clearing and non-cache clearing exceptions
for requests.
|
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.regionserver.HRegionServer |
badRS |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static byte[] |
QUALIFIER |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestMetaCache() |
Modifier and Type | Method and Description |
---|---|
static List<Throwable> |
metaCachePreservingExceptions() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCacheClearingOnCallQueueTooBig() |
void |
testPreserveMetaCacheOnException() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] FAMILY
private static final byte[] QUALIFIER
private static org.apache.hadoop.hbase.regionserver.HRegionServer badRS
public TestMetaCache()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testPreserveMetaCacheOnException() throws Exception
Exception
public void testCacheClearingOnCallQueueTooBig() throws Exception
Exception
public static List<Throwable> metaCachePreservingExceptions()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.