Package org.apache.hadoop.hbase.client
Class TestAsyncSnapshotAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncSnapshotAdminApi
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final Pattern
(package private) String
(package private) String
(package private) String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertResult
(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) void
cleanup()
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClass
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
MATCH_ALL
-
snapshotName1
-
snapshotName2
-
snapshotName3
-
-
Constructor Details
-
TestAsyncSnapshotAdminApi
public TestAsyncSnapshotAdminApi()
-
-
Method Details
-
cleanup
- Throws:
Exception
-
testTakeSnapshot
- Throws:
Exception
-
testCloneSnapshot
- Throws:
Exception
-
assertResult
private void assertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) throws IOException - Throws:
IOException
-
testRestoreSnapshot
- Throws:
Exception
-
testListSnapshots
- Throws:
Exception
-
testDeleteSnapshots
- Throws:
Exception
-