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, verifyReplicasCameOnline
protected static void setupConfiguration()
protected void createTableAndSnapshots() throws Exception
createTableAndSnapshots
in class TestCloneSnapshotFromClient
Exception
public void testCloneLinksAfterDelete() throws IOException, InterruptedException
TestCloneSnapshotFromClient
testCloneLinksAfterDelete
in class TestCloneSnapshotFromClient
IOException
InterruptedException
protected void verifyRowCount(HBaseTestingUtility util, TableName tableName, long expectedRows) throws IOException
verifyRowCount
in class TestCloneSnapshotFromClient
IOException