public class TestMobCloneSnapshotFromClient extends TestCloneSnapshotFromClient
| Modifier and Type | Class and Description |
|---|---|
static class |
TestMobCloneSnapshotFromClient.DelayFlushCoprocessor
This coprocessor is used to delay the flush.
|
admin, emptySnapshot, FAMILY, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_UTIL| Constructor and Description |
|---|
TestMobCloneSnapshotFromClient() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createTableAndSnapshots() |
static void |
setUpBeforeClass() |
protected static void |
setupConfiguration() |
void |
testCloneLinksAfterDelete()
Verify that tables created from the snapshot are still alive after source table deletion.
|
protected void |
verifyRowCount(HBaseTestingUtility util,
TableName tableName,
long expectedRows) |
getNumReplicas, setup, tearDown, tearDownAfterClass, testCloneNonExistentSnapshot, testCloneOnMissingNamespace, testCloneSnapshot, testCloneSnapshotCrossNamespace, verifyReplicasCameOnlineprotected static void setupConfiguration()
public static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionprotected void createTableAndSnapshots()
throws java.lang.Exception
createTableAndSnapshots in class TestCloneSnapshotFromClientjava.lang.Exceptionpublic void testCloneLinksAfterDelete()
throws java.io.IOException,
java.lang.InterruptedException
TestCloneSnapshotFromClienttestCloneLinksAfterDelete in class TestCloneSnapshotFromClientjava.io.IOExceptionjava.lang.InterruptedExceptionprotected void verifyRowCount(HBaseTestingUtility util, TableName tableName, long expectedRows) throws java.io.IOException
verifyRowCount in class TestCloneSnapshotFromClientjava.io.IOException