Package org.apache.hadoop.hbase.client
Class TestAsyncTableRegionReplicasScan
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
org.apache.hadoop.hbase.client.TestAsyncTableRegionReplicasScan
@Tag("org.apache.hadoop.hbase.testclassification.MediumTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncTableRegionReplicasScan
extends AbstractTestAsyncTableRegionReplicasRead
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
AbstractTestAsyncTableRegionReplicasRead.FailPrimaryGetCP -
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
ASYNC_CONN, FAIL_PRIMARY_GET, FAMILY, getTable, QUALIFIER, REPLICA_COUNT, REPLICA_ID_TO_COUNT, ROW, TABLE_NAME, TEST_UTIL, VALUE -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncTableRegionReplicasScan(Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable) -
Method Summary
Modifier and TypeMethodDescriptionprivate static byte[]getRow(int i) private static byte[]getValue(int i) protected voidreadAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) static voidMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
getPrimaryGetCount, getRawTable, getSecondaryGetCount, getTable, parameters, startClusterAndCreateTable, tearDownAfterClass, testNoReplicaRead, testReadSpecificReplica, testReplicaRead, waitUntilAllReplicasHaveRow
-
Field Details
-
ROW_COUNT
-
-
Constructor Details
-
TestAsyncTableRegionReplicasScan
public TestAsyncTableRegionReplicasScan(Supplier<org.apache.hadoop.hbase.client.AsyncTable<?>> getTable)
-
-
Method Details
-
getRow
-
getValue
-
setUpBeforeClass
- Throws:
Exception
-
readAndCheck
protected void readAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) throws IOException - Specified by:
readAndCheckin classAbstractTestAsyncTableRegionReplicasRead- Throws:
IOException
-