public class TestReplicationHFileCleaner
extends java.lang.Object
| Constructor and Description |
|---|
TestReplicationHFileCleaner() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
setup() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testForDifferntHFileRefsZnodeVersion() |
void |
testGetDeletableFiles() |
void |
testIsFileDeletable() |
void |
testZooKeeperAbort()
ReplicationHFileCleaner should be able to ride over ZooKeeper errors without aborting.
|
public static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void setup()
throws ReplicationException,
java.io.IOException
ReplicationExceptionjava.io.IOExceptionpublic void cleanup()
throws ReplicationException
ReplicationExceptionpublic void testIsFileDeletable()
throws java.io.IOException,
ReplicationException
java.io.IOExceptionReplicationExceptionpublic void testGetDeletableFiles()
throws java.lang.Exception
java.lang.Exceptionpublic void testForDifferntHFileRefsZnodeVersion()
throws java.lang.Exception
java.lang.Exceptionpublic void testZooKeeperAbort()
throws java.lang.Exception
java.lang.Exception