Class TestHMobStore
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHMobStore
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private Date
private final String
private List<org.apache.hadoop.hbase.Cell>
private byte[]
private org.apache.hadoop.fs.FileSystem
private org.apache.hadoop.hbase.client.Get
private long
static final org.slf4j.Logger
private org.apache.hadoop.fs.Path
org.junit.rules.TestName
private byte[]
private byte[]
private byte[]
private byte[]
private byte[]
private byte[]
private NavigableSet<byte[]>
private org.apache.hadoop.hbase.regionserver.HRegion
private byte[]
private byte[]
private org.apache.hadoop.hbase.Cell
private org.apache.hadoop.hbase.Cell
private org.apache.hadoop.hbase.Cell
private org.apache.hadoop.hbase.regionserver.HMobStore
private byte[]
private static final HBaseTestingUtility
private byte[]
private byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkMobHFileEncrytption
(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) private void
flush
(int storeFilesSize) Flush the memstoreprivate static void
flushStore
(org.apache.hadoop.hbase.regionserver.HMobStore store, long id) Flush the memstoreprivate void
private void
init
(String methodName, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, boolean testStore) private void
init
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) void
setUp()
Setupvoid
void
Getting MOB data from filesvoid
Getting data from memstorevoid
Getting data from memstore and filesvoid
Getting the reference data from filesvoid
Getting data from memstore and filesvoid
void
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
store
-
region
-
fs
-
table
-
family
-
row
-
row2
-
qf1
-
qf2
-
qf3
-
qf4
-
qf5
-
qf6
-
value
-
value2
-
mobFilePath
-
currentDate
-
seekKey1
-
seekKey2
-
seekKey3
-
qualifiers
-
expected
-
id
-
get
-
TEST_UTIL
-
DIR
-
-
Constructor Details
-
TestHMobStore
public TestHMobStore()
-
-
Method Details
-
setUp
Setup- Throws:
Exception
-
init
private void init(String methodName, org.apache.hadoop.conf.Configuration conf, boolean testStore) throws IOException - Throws:
IOException
-
init
private void init(String methodName, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, boolean testStore) throws IOException - Throws:
IOException
-
init
private void init(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) throws IOException - Throws:
IOException
-
testGetFromMemStore
Getting data from memstore- Throws:
IOException
-
testGetFromFiles
Getting MOB data from files- Throws:
IOException
-
testGetReferencesFromFiles
Getting the reference data from files- Throws:
IOException
-
testGetFromMemStoreAndFiles
Getting data from memstore and files- Throws:
IOException
-
testMobCellSizeThreshold
Getting data from memstore and files- Throws:
IOException
-
testCommitFile
- Throws:
Exception
-
testResolve
- Throws:
Exception
-
flush
Flush the memstore- Throws:
IOException
-
flushStore
private static void flushStore(org.apache.hadoop.hbase.regionserver.HMobStore store, long id) throws IOException Flush the memstore- Throws:
IOException
-
testMOBStoreEncryption
- Throws:
Exception
-
checkMobHFileEncrytption
private void checkMobHFileEncrytption(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles)
-