public class TestSnapshotManager extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.hbase.procedure.ProcedureCoordinator |
coordinator |
(package private) org.apache.hadoop.fs.FileSystem |
fs |
(package private) org.apache.hadoop.hbase.master.MasterFileSystem |
mfs |
org.junit.rules.TestName |
name |
(package private) org.apache.hadoop.hbase.executor.ExecutorService |
pool |
(package private) org.apache.hadoop.hbase.master.MasterServices |
services |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestSnapshotManager() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager |
getNewManager() |
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager |
getNewManager(org.apache.hadoop.conf.Configuration conf) |
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager |
getNewManager(org.apache.hadoop.conf.Configuration conf,
int intervalSeconds) |
private boolean |
isSnapshotSupported(org.apache.hadoop.hbase.master.snapshot.SnapshotManager manager) |
void |
testCleanFinishedHandler() |
void |
testInProcess() |
void |
testSnapshotSupportConfiguration()
Verify the snapshot support based on the configuration.
|
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
public org.junit.rules.TestName name
org.apache.hadoop.hbase.master.MasterServices services
org.apache.hadoop.hbase.procedure.ProcedureCoordinator coordinator
org.apache.hadoop.hbase.executor.ExecutorService pool
org.apache.hadoop.hbase.master.MasterFileSystem mfs
org.apache.hadoop.fs.FileSystem fs
public TestSnapshotManager()
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager getNewManager() throws IOException, org.apache.zookeeper.KeeperException
IOException
org.apache.zookeeper.KeeperException
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager getNewManager(org.apache.hadoop.conf.Configuration conf) throws IOException, org.apache.zookeeper.KeeperException
IOException
org.apache.zookeeper.KeeperException
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager getNewManager(org.apache.hadoop.conf.Configuration conf, int intervalSeconds) throws IOException, org.apache.zookeeper.KeeperException
IOException
org.apache.zookeeper.KeeperException
public void testCleanFinishedHandler() throws Exception
Exception
public void testInProcess() throws org.apache.zookeeper.KeeperException, IOException
org.apache.zookeeper.KeeperException
IOException
public void testSnapshotSupportConfiguration() throws Exception
Exception
private boolean isSnapshotSupported(org.apache.hadoop.hbase.master.snapshot.SnapshotManager manager)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.