Package org.apache.hadoop.hbase.mob
Class TestMobFileCache
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobFileCache
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private Date
private static final int
private static final int
private static final int
private static final int
private static final long
private static final long
private static final String
private static final String
private static final String
(package private) static final org.slf4j.Logger
private org.apache.hadoop.hbase.mob.MobFileCache
private static final byte[]
private static final byte[]
private static final byte[]
private org.apache.hadoop.hbase.regionserver.HRegion
private static final byte[]
private static final byte[]
private static final String
private static final String
private HBaseTestingUtility
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.fs.Path
createMobStoreFile
(String family) Create the mob store file.private org.apache.hadoop.fs.Path
createMobStoreFile
(org.apache.hadoop.conf.Configuration conf, String family) Create the mob store fileprivate org.apache.hadoop.fs.Path
createMobStoreFile
(org.apache.hadoop.hbase.HColumnDescriptor hcd) Create the mob store filevoid
setUp()
void
tearDown()
void
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
region
-
conf
-
mobFileCache
-
currentDate
-
TEST_CACHE_SIZE
- See Also:
-
EXPECTED_CACHE_SIZE_ZERO
- See Also:
-
EXPECTED_CACHE_SIZE_ONE
- See Also:
-
EXPECTED_CACHE_SIZE_TWO
- See Also:
-
EXPECTED_CACHE_SIZE_THREE
- See Also:
-
EXPECTED_REFERENCE_ONE
- See Also:
-
EXPECTED_REFERENCE_TWO
- See Also:
-
TABLE
- See Also:
-
FAMILY1
- See Also:
-
FAMILY2
- See Also:
-
FAMILY3
- See Also:
-
ROW
-
ROW2
-
VALUE
-
VALUE2
-
QF1
-
QF2
-
QF3
-
-
Constructor Details
-
TestMobFileCache
public TestMobFileCache()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
createMobStoreFile
Create the mob store file.- Throws:
IOException
-
createMobStoreFile
private org.apache.hadoop.fs.Path createMobStoreFile(org.apache.hadoop.conf.Configuration conf, String family) throws IOException Create the mob store file- Throws:
IOException
-
createMobStoreFile
private org.apache.hadoop.fs.Path createMobStoreFile(org.apache.hadoop.hbase.HColumnDescriptor hcd) throws IOException Create the mob store file- Throws:
IOException
-
testMobFileCache
- Throws:
Exception
-