Class TestHMobStore
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestHMobStore
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate Dateprivate final Stringprivate List<org.apache.hadoop.hbase.Cell>private byte[]private org.apache.hadoop.fs.FileSystemprivate org.apache.hadoop.hbase.client.Getprivate longstatic final org.slf4j.Loggerprivate org.apache.hadoop.fs.Pathorg.junit.rules.TestNameprivate byte[]private byte[]private byte[]private byte[]private byte[]private byte[]private NavigableSet<byte[]>private org.apache.hadoop.hbase.regionserver.HRegionprivate byte[]private byte[]private org.apache.hadoop.hbase.Cellprivate org.apache.hadoop.hbase.Cellprivate org.apache.hadoop.hbase.Cellprivate org.apache.hadoop.hbase.regionserver.HMobStoreprivate byte[]private static final HBaseTestingUtilityprivate byte[]private byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckMobHFileEncrytption(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> storefiles) private voidflush(int storeFilesSize) Flush the memstoreprivate static voidflushStore(org.apache.hadoop.hbase.regionserver.HMobStore store, long id) Flush the memstoreprivate voidprivate voidinit(String methodName, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd, boolean testStore) private voidinit(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor cfd) voidsetUp()SetupvoidvoidGetting MOB data from filesvoidGetting data from memstorevoidGetting data from memstore and filesvoidGetting the reference data from filesvoidGetting data from memstore and filesvoidvoid
-
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)
-