Package org.apache.hadoop.hbase.mob
Class TestMobCompactionWithException
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobCompactionWithException
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private org.apache.hadoop.hbase.client.ColumnFamilyDescriptorprivate static org.apache.hadoop.conf.Configurationprivate org.apache.hadoop.fs.FileSystemprivate static final HBaseTestingUtil(package private) static final org.slf4j.Loggerorg.junit.rules.TestNameprivate org.apache.hadoop.hbase.regionserver.HRegionprivate static intprivate final byte[]private org.apache.hadoop.hbase.client.Tableprivate org.apache.hadoop.hbase.client.TableDescriptorprivate static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intprivate intprivate org.apache.hadoop.hbase.client.PutcreatePut(int rowIdx, byte[] dummyData) private voidcreateTable(long mobThreshold) private longprivate byte[]makeDummyData(int size) static voidsetUp()voidtearDown()voidThis test is for HBASE-27433.
-
Field Details
-
CLASS_RULE
-
name
-
LOG
-
HTU
-
conf
-
region
-
tableDescriptor
-
columnFamilyDescriptor
-
fs
-
COLUMN_FAMILY
-
STARTROW
-
testException
-
rowCount
-
table
-
-
Constructor Details
-
TestMobCompactionWithException
public TestMobCompactionWithException()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
createTable
- Throws:
IOException
-
testMobStoreFileDeletedWhenCompactException
This test is for HBASE-27433.- Throws:
Exception
-
countStoreFiles
- Throws:
IOException
-
countMobFiles
- Throws:
IOException
-
getMobFileByteSize
- Throws:
IOException
-
createPut
private org.apache.hadoop.hbase.client.Put createPut(int rowIdx, byte[] dummyData) throws IOException - Throws:
IOException
-
makeDummyData
-