public class TestCleanupCompactedFileAfterFailover extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static byte[] |
QUALIFIER |
private static byte[] |
ROW |
private static int |
RS_NUMBER |
private static org.apache.hadoop.hbase.client.Table |
table |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestCleanupCompactedFileAfterFailover() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
static void |
afterClass() |
void |
before() |
static void |
beforeClass() |
private byte[] |
concat(byte[] base,
int index) |
private void |
testCleanupAfterFailover(int compactNum) |
void |
testCleanupAfterFailoverWithCompactOnce() |
void |
testCleanupAfterFailoverWithCompactThreeTimes() |
void |
testCleanupAfterFailoverWithCompactTwice() |
private void |
writeDataAndFlush(int fileNum,
org.apache.hadoop.hbase.regionserver.HRegion region) |
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.hbase.client.Admin admin
private static org.apache.hadoop.hbase.client.Table table
private static org.apache.hadoop.hbase.TableName TABLE_NAME
private static byte[] ROW
private static byte[] FAMILY
private static byte[] QUALIFIER
private static byte[] VALUE
private static final int RS_NUMBER
public TestCleanupCompactedFileAfterFailover()
public static void beforeClass() throws Exception
Exception
public static void afterClass() throws Exception
Exception
public void testCleanupAfterFailoverWithCompactOnce() throws Exception
Exception
public void testCleanupAfterFailoverWithCompactTwice() throws Exception
Exception
public void testCleanupAfterFailoverWithCompactThreeTimes() throws Exception
Exception
private void testCleanupAfterFailover(int compactNum) throws Exception
Exception
private void writeDataAndFlush(int fileNum, org.apache.hadoop.hbase.regionserver.HRegion region) throws Exception
Exception
private byte[] concat(byte[] base, int index)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.