public class TestCloneSnapshotProcedure extends TestTableDDLProcedureBase
Modifier and Type | Field and Description |
---|---|
protected byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription |
snapshot |
UTIL
Constructor and Description |
---|
TestCloneSnapshotProcedure() |
Modifier and Type | Method and Description |
---|---|
private static org.apache.hadoop.hbase.client.TableDescriptor |
createTableDescriptor(org.apache.hadoop.hbase.TableName tableName,
byte[]... family) |
private int |
getNumReplicas() |
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription |
getSnapshot() |
void |
tearDown() |
void |
testCloneSnapshot() |
void |
testCloneSnapshotToSameTable() |
void |
testRecoverWithRestoreAclFlag() |
void |
testRecoveryAndDoubleExecution() |
void |
testRollbackAndDoubleExecution() |
cleanupTest, getMaster, getMasterProcedureExecutor, resetProcExecutorTestingKillFlag, setup, setupCluster
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
protected final byte[] CF
private static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot
public TestCloneSnapshotProcedure()
public void tearDown() throws Exception
tearDown
in class TestTableDDLProcedureBase
Exception
private org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription getSnapshot() throws Exception
Exception
private int getNumReplicas()
private static org.apache.hadoop.hbase.client.TableDescriptor createTableDescriptor(org.apache.hadoop.hbase.TableName tableName, byte[]... family)
public void testCloneSnapshot() throws Exception
Exception
public void testCloneSnapshotToSameTable() throws Exception
Exception
public void testRecoveryAndDoubleExecution() throws Exception
Exception
public void testRecoverWithRestoreAclFlag() throws Exception
Exception
public void testRollbackAndDoubleExecution() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.