public class TestCleanerClearHFiles extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
COLUMN_FAMILY |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
DEFAULT_ARCHIVE_SUBDIRS_PREFIX |
org.junit.rules.TestName |
name |
private static String |
TABLE1 |
private static String |
TABLE2 |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestCleanerClearHFiles() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.client.Table |
createTable(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName) |
private boolean |
notExistOrEmptyDir(org.apache.hadoop.fs.Path dir,
org.apache.hadoop.hdfs.DistributedFileSystem fs) |
static void |
setupBeforeClass() |
static void |
tearDownAfterClass() |
void |
testClearArchive() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static HBaseTestingUtility TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.Admin admin
private static final byte[] COLUMN_FAMILY
private static final String TABLE1
private static final String TABLE2
private static final String DEFAULT_ARCHIVE_SUBDIRS_PREFIX
public TestCleanerClearHFiles()
public static void setupBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testClearArchive() throws Exception
Exception
private boolean notExistOrEmptyDir(org.apache.hadoop.fs.Path dir, org.apache.hadoop.hdfs.DistributedFileSystem fs)
private org.apache.hadoop.hbase.client.Table createTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.