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
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 HBaseTestingUtil
private static final byte[]
private static final byte[]
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
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
-
createAndGetMobStoreFileContextPair
private org.apache.hadoop.hbase.util.Pair<org.apache.hadoop.fs.Path,org.apache.hadoop.hbase.regionserver.StoreContext> createAndGetMobStoreFileContextPair(String family) throws IOException Create the mob store file.- Throws:
IOException
-
testMobFileCache
- Throws:
Exception
-