Modifier and Type | Class and Description |
---|---|
static class |
TestMobCloneSnapshotFromClientCloneLinksAfterDelete.DelayFlushCoprocessor
This coprocessor is used to delay the flush.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static boolean |
delayFlush |
admin, emptySnapshot, FAMILY, name, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_UTIL
Constructor and Description |
---|
TestMobCloneSnapshotFromClientCloneLinksAfterDelete() |
Modifier and Type | Method and Description |
---|---|
protected int |
countRows(org.apache.hadoop.hbase.client.Table table) |
protected void |
createTable() |
protected int |
numRowsToLoad() |
static void |
setUpBeforeClass() |
protected static void |
setupConfiguration() |
void |
testCloneLinksAfterDelete()
Verify that tables created from the snapshot are still alive after source table deletion.
|
getNumReplicas, getValidMethodName, setup, tearDown, tearDownAfterClass, verifyRowCount
public static final HBaseClassTestRule CLASS_RULE
private static boolean delayFlush
public TestMobCloneSnapshotFromClientCloneLinksAfterDelete()
protected static void setupConfiguration()
public static void setUpBeforeClass() throws Exception
Exception
protected void createTable() throws IOException, InterruptedException
createTable
in class CloneSnapshotFromClientTestBase
IOException
InterruptedException
protected int numRowsToLoad()
numRowsToLoad
in class CloneSnapshotFromClientTestBase
protected int countRows(org.apache.hadoop.hbase.client.Table table) throws IOException
countRows
in class CloneSnapshotFromClientTestBase
IOException
public void testCloneLinksAfterDelete() throws IOException, InterruptedException
CloneSnapshotFromClientCloneLinksAfterDeleteTestBase
testCloneLinksAfterDelete
in class CloneSnapshotFromClientCloneLinksAfterDeleteTestBase
IOException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.