Package org.apache.hadoop.hbase.client
Class TestAsyncTableRegionReplicasScan
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
org.apache.hadoop.hbase.client.TestAsyncTableRegionReplicasScan
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
AbstractTestAsyncTableRegionReplicasRead.FailPrimaryGetCP
-
Field Summary
Fields 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, testName, VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static byte[]
getRow
(int i) private static byte[]
getValue
(int i) protected void
readAndCheck
(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) static void
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestAsyncTableRegionReplicasRead
getPrimaryGetCount, getSecondaryGetCount, params, startClusterAndCreateTable, tearDownAfterClass, testNoReplicaRead, testReadSpecificReplica, testReplicaRead, waitUntilAllReplicasHaveRow
-
Field Details
-
CLASS_RULE
-
ROW_COUNT
-
-
Constructor Details
-
TestAsyncTableRegionReplicasScan
public TestAsyncTableRegionReplicasScan()
-
-
Method Details
-
getRow
-
getValue
-
setUpBeforeClass
- Throws:
Exception
-
readAndCheck
protected void readAndCheck(org.apache.hadoop.hbase.client.AsyncTable<?> table, int replicaId) throws IOException - Specified by:
readAndCheck
in classAbstractTestAsyncTableRegionReplicasRead
- Throws:
IOException
-