Package org.apache.hadoop.hbase.client
Class TestMobRestoreSnapshotFromClientAfterSplittingRegions
java.lang.Object
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
org.apache.hadoop.hbase.client.RestoreSnapshotFromClientAfterSplittingRegionsTestBase
org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClientAfterSplittingRegions
-
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
(HBaseTestingUtility util, org.apache.hadoop.hbase.TableName tableName, long expectedRows) Methods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientAfterSplittingRegionsTestBase
testRestoreSnapshotAfterSplittingRegions
Methods inherited from class org.apache.hadoop.hbase.client.RestoreSnapshotFromClientTestBase
getNumReplicas, getValidMethodName, setup, splitRegion, tearDown, tearDownAfterClass
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestMobRestoreSnapshotFromClientAfterSplittingRegions
-
-
Method Details
-
setupCluster
- Throws:
Exception
-
setupConf
-
createTable
- Overrides:
createTable
in classRestoreSnapshotFromClientTestBase
- Throws:
Exception
-
verifyRowCount
protected void verifyRowCount(HBaseTestingUtility 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
-