public class TestSnapshotCleanerChore extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestSnapshotCleanerChore.StoppableImplementation
Simple helper class that just keeps track of whether or not its stopped.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HBASE_TESTING_UTILITY |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager |
snapshotManager |
Constructor and Description |
---|
TestSnapshotCleanerChore() |
Modifier and Type | Method and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
getSnapshotCleanerConf() |
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription |
getSnapshotDescription(long ttl,
String snapshotName,
String tableName,
long snapshotCreationTime) |
void |
testSnapshotChoreWithTtlOutOfRange() |
void |
testSnapshotCleanerWithNoTtlExpired() |
void |
testSnapshotCleanerWithoutAnyCompletedSnapshot() |
void |
testSnapshotCleanerWithReadIOE() |
void |
testSnapshotCleanerWithSomeTtlExpired() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility HBASE_TESTING_UTILITY
private org.apache.hadoop.hbase.master.snapshot.SnapshotManager snapshotManager
public TestSnapshotCleanerChore()
private org.apache.hadoop.conf.Configuration getSnapshotCleanerConf()
public void testSnapshotCleanerWithoutAnyCompletedSnapshot() throws IOException
IOException
public void testSnapshotCleanerWithNoTtlExpired() throws IOException
IOException
public void testSnapshotCleanerWithSomeTtlExpired() throws IOException
IOException
public void testSnapshotCleanerWithReadIOE() throws IOException
IOException
public void testSnapshotChoreWithTtlOutOfRange() throws IOException
IOException
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription getSnapshotDescription(long ttl, String snapshotName, String tableName, long snapshotCreationTime)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.