public class TestHFileArchiving
extends java.lang.Object
HFileArchiver correctly removes all the parts of a region when cleaning up
a region| Constructor and Description |
|---|
TestHFileArchiving() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanupTest() |
static void |
setupCluster()
Setup the config for the cluster
|
void |
tearDown() |
void |
testArchiveOnTableDelete() |
void |
testArchiveOnTableFamilyDelete()
Test that the store files are archived when a column family is removed.
|
void |
testCleaningRace()
Test HFileArchiver.resolveAndArchive() race condition HBASE-7643
|
void |
testDeleteRegionWithNoStoreFiles()
Test that the region directory is removed when we archive a region without store files, but
still has hidden files.
|
void |
testRemovesRegionDirOnArchive() |
public static void setupCluster()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
throws java.lang.Exception
java.lang.Exceptionpublic static void cleanupTest()
throws java.lang.Exception
java.lang.Exceptionpublic void testRemovesRegionDirOnArchive()
throws java.lang.Exception
java.lang.Exceptionpublic void testDeleteRegionWithNoStoreFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveOnTableDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testArchiveOnTableFamilyDelete()
throws java.lang.Exception
java.lang.Exceptionpublic void testCleaningRace()
throws java.lang.Exception
java.lang.Exception