Package org.apache.hadoop.hbase.backup
Class TestBackupHFileCleaner
java.lang.Object
org.apache.hadoop.hbase.backup.TestBackupHFileCleaner
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.apache.hadoop.conf.Configuration
private static org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private org.apache.hadoop.fs.Path
private static final org.apache.hadoop.hbase.TableName
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
private org.apache.hadoop.fs.FileStatus
createFile
(String fileName) void
setup()
static void
static void
void
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
conf
-
tableNameWithBackup
-
tableNameWithoutBackup
-
fs
-
root
-
-
Constructor Details
-
TestBackupHFileCleaner
public TestBackupHFileCleaner()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setup
- Throws:
IOException
-
cleanup
-
testGetDeletableFiles
- Throws:
IOException
-
createFile
- Throws:
IOException
-