public class TestClientScanner extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
TestClientScanner.MockClientScanner |
static class |
TestClientScanner.MockRpcRetryingCallerFactory |
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
(package private) org.apache.hadoop.hbase.client.ClusterConnection |
clusterConn |
(package private) org.apache.hadoop.conf.Configuration |
conf |
(package private) org.apache.hadoop.hbase.ipc.RpcControllerFactory |
controllerFactory |
org.junit.rules.TestName |
name |
(package private) ExecutorService |
pool |
(package private) org.apache.hadoop.hbase.client.RpcRetryingCallerFactory |
rpcFactory |
(package private) org.apache.hadoop.hbase.client.Scan |
scan |
| Constructor and Description |
|---|
TestClientScanner() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
void |
teardown() |
void |
testCacheLimit() |
void |
testExceptionsFromReplicasArePropagated()
Tests the case where all replicas of a region throw an exception.
|
void |
testMoreResults() |
void |
testNoMoreResults() |
void |
testNoResultsHint() |
void |
testSizeLimit() |
public static final HBaseClassTestRule CLASS_RULE
org.apache.hadoop.hbase.client.Scan scan
ExecutorService pool
org.apache.hadoop.conf.Configuration conf
org.apache.hadoop.hbase.client.ClusterConnection clusterConn
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory rpcFactory
org.apache.hadoop.hbase.ipc.RpcControllerFactory controllerFactory
public org.junit.rules.TestName name
public TestClientScanner()
public void setup() throws IOException
IOExceptionpublic void teardown()
public void testNoResultsHint() throws IOException
IOExceptionpublic void testSizeLimit() throws IOException
IOExceptionpublic void testCacheLimit() throws IOException
IOExceptionpublic void testNoMoreResults() throws IOException
IOExceptionpublic void testMoreResults() throws IOException
IOExceptionpublic void testExceptionsFromReplicasArePropagated() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.