public class TestMobFileCache extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
private Date |
currentDate |
private static int |
EXPECTED_CACHE_SIZE_ONE |
private static int |
EXPECTED_CACHE_SIZE_THREE |
private static int |
EXPECTED_CACHE_SIZE_TWO |
private static int |
EXPECTED_CACHE_SIZE_ZERO |
private static long |
EXPECTED_REFERENCE_ONE |
private static long |
EXPECTED_REFERENCE_TWO |
private static String |
FAMILY1 |
private static String |
FAMILY2 |
private static String |
FAMILY3 |
(package private) static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.mob.MobFileCache |
mobFileCache |
private static byte[] |
QF1 |
private static byte[] |
QF2 |
private static byte[] |
QF3 |
private org.apache.hadoop.hbase.regionserver.HRegion |
region |
private static byte[] |
ROW |
private static byte[] |
ROW2 |
private static String |
TABLE |
private static String |
TEST_CACHE_SIZE |
private HBaseTestingUtility |
UTIL |
private static byte[] |
VALUE |
private static byte[] |
VALUE2 |
Constructor and Description |
---|
TestMobFileCache() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.fs.Path |
createMobStoreFile(org.apache.hadoop.conf.Configuration conf,
String family)
Create the mob store file
|
private org.apache.hadoop.fs.Path |
createMobStoreFile(org.apache.hadoop.hbase.HColumnDescriptor hcd)
Create the mob store file
|
private org.apache.hadoop.fs.Path |
createMobStoreFile(String family)
Create the mob store file.
|
void |
setUp() |
void |
tearDown() |
void |
testMobFileCache() |
public static final HBaseClassTestRule CLASS_RULE
static final org.slf4j.Logger LOG
private HBaseTestingUtility UTIL
private org.apache.hadoop.hbase.regionserver.HRegion region
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.mob.MobFileCache mobFileCache
private Date currentDate
private static final String TEST_CACHE_SIZE
private static final int EXPECTED_CACHE_SIZE_ZERO
private static final int EXPECTED_CACHE_SIZE_ONE
private static final int EXPECTED_CACHE_SIZE_TWO
private static final int EXPECTED_CACHE_SIZE_THREE
private static final long EXPECTED_REFERENCE_ONE
private static final long EXPECTED_REFERENCE_TWO
private static final String TABLE
private static final String FAMILY1
private static final String FAMILY2
private static final String FAMILY3
private static final byte[] ROW
private static final byte[] ROW2
private static final byte[] VALUE
private static final byte[] VALUE2
private static final byte[] QF1
private static final byte[] QF2
private static final byte[] QF3
public TestMobFileCache()
private org.apache.hadoop.fs.Path createMobStoreFile(String family) throws IOException
IOException
private org.apache.hadoop.fs.Path createMobStoreFile(org.apache.hadoop.conf.Configuration conf, String family) throws IOException
IOException
private org.apache.hadoop.fs.Path createMobStoreFile(org.apache.hadoop.hbase.HColumnDescriptor hcd) throws IOException
IOException
public void testMobFileCache() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.