public class TestBackupHFileCleaner extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static String |
famName |
(package private) static org.apache.hadoop.fs.FileSystem |
fs |
private static org.slf4j.Logger |
LOG |
(package private) org.apache.hadoop.fs.Path |
root |
private static org.apache.hadoop.hbase.TableName |
tableName |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestBackupHFileCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
setup() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetDeletableFiles() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtil TEST_UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.TableName tableName
static org.apache.hadoop.fs.FileSystem fs
org.apache.hadoop.fs.Path root
public TestBackupHFileCleaner()
public static void setUpBeforeClass() throws Exception
Exception
- if starting the mini cluster or getting the filesystem failspublic static void tearDownAfterClass() throws Exception
Exception
- if closing the filesystem or shutting down the mini cluster failspublic void setup() throws IOException
IOException
public void cleanup()
public void testGetDeletableFiles() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.