Package org.apache.hadoop.hbase.client
Class TestMobRestoreSnapshotFromClientSimple
java.lang.Object
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientSimpleTestBase
org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClientSimple
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
admin, emptySnapshot, FAMILY, name, snapshot0Rows, snapshot1Rows, snapshotName0, snapshotName1, snapshotName2, tableName, TEST_FAMILY2, TEST_UTIL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
countRows
(org.apache.hadoop.hbase.client.Table table, byte[]... families) protected void
static void
protected static void
setupConf
(org.apache.hadoop.conf.Configuration conf) protected void
verifyRowCount
(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) Methods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientSimpleTestBase
testCorruptedSnapshot, testRestoreSnapshot
Methods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
getNumReplicas, getValidMethodName, setup, splitRegion, tearDown, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMobRestoreSnapshotFromClientSimple
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
setupConf
-
createTable
- Overrides:
createTable
in classRestoreSnapshotFromClientTestBase
- Throws:
Exception
-
verifyRowCount
protected void verifyRowCount(HBaseTestingUtil util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) throws IOException - Overrides:
verifyRowCount
in classRestoreSnapshotFromClientTestBase
- Throws:
IOException
-
countRows
protected int countRows(org.apache.hadoop.hbase.client.Table table, byte[]... families) throws IOException - Overrides:
countRows
in classRestoreSnapshotFromClientTestBase
- Throws:
IOException
-