Package org.apache.hadoop.hbase.mob
Class TestMobCompactionWithException
java.lang.Object
org.apache.hadoop.hbase.mob.TestMobCompactionWithException
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private org.apache.hadoop.hbase.client.ColumnFamilyDescriptor
private static org.apache.hadoop.conf.Configuration
private org.apache.hadoop.fs.FileSystem
private static final HBaseTestingUtility
(package private) static final org.slf4j.Logger
org.junit.rules.TestName
private org.apache.hadoop.hbase.regionserver.HRegion
private static int
private final byte[]
private org.apache.hadoop.hbase.client.Table
private org.apache.hadoop.hbase.client.TableDescriptor
private static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
private int
private org.apache.hadoop.hbase.client.Put
createPut
(int rowIdx, byte[] dummyData) private void
createTable
(long mobThreshold) private long
private byte[]
makeDummyData
(int size) static void
setUp()
void
tearDown()
void
This 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
-