Package org.apache.hadoop.hbase.client
Class TestClientScanner
java.lang.Object
org.apache.hadoop.hbase.client.TestClientScanner
Test the ClientScanner.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
(package private) org.apache.hadoop.hbase.client.ClusterConnection
(package private) org.apache.hadoop.conf.Configuration
(package private) org.apache.hadoop.hbase.client.ConnectionConfiguration
(package private) org.apache.hadoop.hbase.ipc.RpcControllerFactory
org.junit.rules.TestName
(package private) ExecutorService
(package private) org.apache.hadoop.hbase.client.RpcRetryingCallerFactory
(package private) org.apache.hadoop.hbase.client.Scan
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
scan
org.apache.hadoop.hbase.client.Scan scan -
pool
-
conf
org.apache.hadoop.conf.Configuration conf -
connectionConfig
org.apache.hadoop.hbase.client.ConnectionConfiguration connectionConfig -
clusterConn
org.apache.hadoop.hbase.client.ClusterConnection clusterConn -
rpcFactory
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory rpcFactory -
controllerFactory
org.apache.hadoop.hbase.ipc.RpcControllerFactory controllerFactory -
name
-
-
Constructor Details
-
TestClientScanner
public TestClientScanner()
-
-
Method Details
-
setup
- Throws:
IOException
-
teardown
-
testNoResultsHint
- Throws:
IOException
-
testSizeLimit
- Throws:
IOException
-
testCacheLimit
- Throws:
IOException
-
testNoMoreResults
- Throws:
IOException
-
testMoreResults
- Throws:
IOException
-
testExceptionsFromReplicasArePropagated
Tests the case where all replicas of a region throw an exception. It should not cause a hang but the exception should propagate to the client- Throws:
IOException
-