Class TestReplicationHFileCleaner
java.lang.Object
org.apache.hadoop.hbase.master.cleaner.TestReplicationHFileCleaner
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
(package private) static org.apache.hadoop.fs.FileSystem
private static final org.slf4j.Logger
private static final String
(package private) org.apache.hadoop.fs.Path
private static org.apache.hadoop.hbase.replication.ReplicationPeers
private static org.apache.hadoop.hbase.replication.ReplicationQueueStorage
private static org.apache.hadoop.hbase.Server
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
server
-
rq
-
rp
-
peerId
- See Also:
-
conf
-
fs
-
root
org.apache.hadoop.fs.Path root
-
-
Constructor Details
-
TestReplicationHFileCleaner
public TestReplicationHFileCleaner()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setup
- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
IOException
-
cleanup
- Throws:
org.apache.hadoop.hbase.replication.ReplicationException
-
testIsFileDeletable
public void testIsFileDeletable() throws IOException, org.apache.hadoop.hbase.replication.ReplicationException- Throws:
IOException
org.apache.hadoop.hbase.replication.ReplicationException
-
testGetDeletableFiles
- Throws:
Exception
-
testZooKeeperAbort
ReplicationHFileCleaner should be able to ride over ZooKeeper errors without aborting.- Throws:
Exception
-