Class TestCleanupCompactedFileAfterFailover
java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCleanupCompactedFileAfterFailover
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static byte[]private static final org.slf4j.Loggerprivate static byte[]private static byte[]private static final intprivate static org.apache.hadoop.hbase.client.Tableprivate static org.apache.hadoop.hbase.TableNameprivate static HBaseTestingUtilityprivate static byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafter()static voidvoidbefore()static voidprivate byte[]concat(byte[] base, int index) private voidtestCleanupAfterFailover(int compactNum) voidvoidvoidprivate voidwriteDataAndFlush(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
-