Class TestCleanerClearHFiles
java.lang.Object
org.apache.hadoop.hbase.master.cleaner.TestCleanerClearHFiles
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final byte[]
private static org.apache.hadoop.conf.Configuration
private static final String
org.junit.rules.TestName
private static final String
private static final String
private static HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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
static void
void
-
Field Details
-
CLASS_RULE
-
name
-
TEST_UTIL
-
conf
-
admin
-
COLUMN_FAMILY
-
TABLE1
- See Also:
-
TABLE2
- See Also:
-
DEFAULT_ARCHIVE_SUBDIRS_PREFIX
- See Also:
-
-
Constructor Details
-
TestCleanerClearHFiles
public TestCleanerClearHFiles()
-
-
Method Details
-
setupBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testClearArchive
- Throws:
Exception
-
notExistOrEmptyDir
private boolean notExistOrEmptyDir(org.apache.hadoop.fs.Path dir, org.apache.hadoop.hdfs.DistributedFileSystem fs) -
createTable
private org.apache.hadoop.hbase.client.Table createTable(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName) throws IOException - Throws:
IOException
-