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
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncSnapshotAdminApi
extends TestAsyncAdminBase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Pattern(package private) String(package private) String(package private) StringFields inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
admin, ASYNC_CONN, FAMILY, FAMILY_0, FAMILY_1, getAdmin, LOG, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncSnapshotAdminApi(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertResult(org.apache.hadoop.hbase.TableName tableName, int expectedRowCount) voidcleanup()static voidstatic voidvoidvoidvoidtestListSnapshots(org.junit.jupiter.api.TestInfo testInfo) voidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, parameters, setUp, tearDownMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
MATCH_ALL
-
snapshotName1
-
snapshotName2
-
snapshotName3
-
-
Constructor Details
-
TestAsyncSnapshotAdminApi
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
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
@TestTemplate public void testListSnapshots(org.junit.jupiter.api.TestInfo testInfo) throws Exception - Throws:
Exception
-
testDeleteSnapshots
- Throws:
Exception
-