Class TestCleanupCompactedFileAfterFailover
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCleanupCompactedFileAfterFailover
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static byte[]
private static final org.slf4j.Logger
private static byte[]
private static byte[]
private static final int
private static org.apache.hadoop.hbase.client.Table
private static org.apache.hadoop.hbase.TableName
private static HBaseTestingUtil
private static byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
after()
static void
void
before()
static void
private byte[]
concat
(byte[] base, int index) private void
testCleanupAfterFailover
(int compactNum) void
void
void
private void
writeDataAndFlush
(int fileNum, org.apache.hadoop.hbase.regionserver.HRegion region)
-
Field Details
-
LOG
-
CLASS_RULE
-
TEST_UTIL
-
admin
-
table
-
TABLE_NAME
-
ROW
-
FAMILY
-
QUALIFIER
-
VALUE
-
RS_NUMBER
- See Also:
-
-
Constructor Details
-
TestCleanupCompactedFileAfterFailover
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
before
- Throws:
Exception
-
after
- Throws:
Exception
-
testCleanupAfterFailoverWithCompactOnce
- Throws:
Exception
-
testCleanupAfterFailoverWithCompactTwice
- Throws:
Exception
-
testCleanupAfterFailoverWithCompactThreeTimes
- Throws:
Exception
-
testCleanupAfterFailover
- Throws:
Exception
-
writeDataAndFlush
private void writeDataAndFlush(int fileNum, org.apache.hadoop.hbase.regionserver.HRegion region) throws Exception - Throws:
Exception
-
concat
-