Package org.apache.hadoop.hbase.mob
Class TestMobFileCache
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobFileCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate org.apache.hadoop.conf.Configurationprivate Dateprivate static final intprivate static final intprivate static final intprivate static final intprivate static final longprivate static final longprivate static final Stringprivate static final Stringprivate static final String(package private) static final org.slf4j.Loggerprivate org.apache.hadoop.hbase.mob.MobFileCacheprivate static final byte[]private static final byte[]private static final byte[]private org.apache.hadoop.hbase.regionserver.HRegionprivate static final byte[]private static final byte[]private static final Stringprivate static final Stringprivate HBaseTestingUtilityprivate static final byte[]private static final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.hadoop.fs.PathcreateMobStoreFile(String family) Create the mob store file.private org.apache.hadoop.fs.PathcreateMobStoreFile(org.apache.hadoop.conf.Configuration conf, String family) Create the mob store fileprivate org.apache.hadoop.fs.PathcreateMobStoreFile(org.apache.hadoop.hbase.HColumnDescriptor hcd) Create the mob store filevoidsetUp()voidtearDown()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
-