public class TestSnapshotWhenChoreCleaning extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
CONF |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static int |
MAX_SPLIT_KEYS_NUM |
private static byte[] |
QUALIFIER |
private static org.apache.hadoop.hbase.client.Table |
TABLE |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
TEST_UTIL |
TableNameTestRule |
testTable |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestSnapshotWhenChoreCleaning() |
Modifier and Type | Method and Description |
---|---|
private static void |
createTable() |
private static byte[] |
integerToBytes(int i) |
private static boolean |
isAnySnapshots(org.apache.hadoop.fs.FileSystem fs) |
private static List<org.apache.hadoop.fs.Path> |
listHFileNames(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir) |
private static void |
loadDataAndFlush() |
static void |
setUp() |
static void |
tearDown() |
void |
testSnapshotWhenSnapshotHFileCleanerRunning() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility TEST_UTIL
private static final org.apache.hadoop.conf.Configuration CONF
private static final org.slf4j.Logger LOG
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final int MAX_SPLIT_KEYS_NUM
private static final byte[] FAMILY
private static final byte[] QUALIFIER
private static final byte[] VALUE
private static org.apache.hadoop.hbase.client.Table TABLE
public TableNameTestRule testTable
public TestSnapshotWhenChoreCleaning()
private static byte[] integerToBytes(int i)
private static void createTable() throws IOException
IOException
private static void loadDataAndFlush() throws IOException
IOException
private static List<org.apache.hadoop.fs.Path> listHFileNames(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir) throws IOException
IOException
private static boolean isAnySnapshots(org.apache.hadoop.fs.FileSystem fs) throws IOException
IOException
public void testSnapshotWhenSnapshotHFileCleanerRunning() throws Exception
Exception
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.