public class TestMobRestoreSnapshotFromClientClone extends RestoreSnapshotFromClientCloneTestBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
admin, emptySnapshot, FAMILY, name, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_FAMILY2, TEST_UTIL
Constructor and Description |
---|
TestMobRestoreSnapshotFromClientClone() |
Modifier and Type | Method and Description |
---|---|
protected int |
countRows(org.apache.hadoop.hbase.client.Table table,
byte[]... families) |
protected void |
createTable() |
static void |
setupCluster() |
protected static void |
setupConf(org.apache.hadoop.conf.Configuration conf) |
protected void |
verifyRowCount(HBaseTestingUtility util,
org.apache.hadoop.hbase.TableName tableName,
long expectedRows) |
testCloneAndRestoreSnapshot, testCloneSnapshotOfCloned
getNumReplicas, getValidMethodName, setup, splitRegion, tearDown, tearDownAfterClass
public static final HBaseClassTestRule CLASS_RULE
public TestMobRestoreSnapshotFromClientClone()
public static void setupCluster() throws Exception
Exception
protected static void setupConf(org.apache.hadoop.conf.Configuration conf)
protected void createTable() throws Exception
createTable
in class RestoreSnapshotFromClientTestBase
Exception
protected void verifyRowCount(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException
verifyRowCount
in class RestoreSnapshotFromClientTestBase
IOException
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException
countRows
in class RestoreSnapshotFromClientTestBase
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.