public class TestCatalogJanitor extends Object
Constructor and Description |
---|
TestCatalogJanitor() |
Modifier and Type | Method and Description |
---|---|
void |
testArchiveOldRegion() |
void |
testCleanParent() |
void |
testDuplicateHFileResolution()
Test that if a store file with the same name is present as those already backed up cause the
already archived files to be timestamped backup
|
void |
testLastParentCleanedEvenIfDaughterGoneFirst()
Make sure last parent with empty end key gets cleaned up even if daughter is cleaned up before it.
|
void |
testParentCleanedEvenIfDaughterGoneFirst()
Make sure parent gets cleaned up even if daughter is cleaned up before it.
|
void |
testScanDoesNotCleanRegionsWithExistingParents()
CatalogJanitor.scan() should not clean parent regions if their own
parents are still referencing them.
|
void |
testSplitParentFirstComparator()
Test that we correctly archive all the storefiles when a region is deleted
|
public void testCleanParent() throws IOException, InterruptedException
IOException
InterruptedException
public void testParentCleanedEvenIfDaughterGoneFirst() throws IOException, InterruptedException
IOException
InterruptedException
public void testLastParentCleanedEvenIfDaughterGoneFirst() throws IOException, InterruptedException
IOException
InterruptedException
public void testScanDoesNotCleanRegionsWithExistingParents() throws Exception
Exception
public void testSplitParentFirstComparator()
Exception