Package org.apache.hadoop.hbase.test
Class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
java.lang.Object
org.apache.hadoop.hbase.util.MultiThreadedAction
org.apache.hadoop.hbase.util.MultiThreadedReader
org.apache.hadoop.hbase.test.IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
- Enclosing class:
- IntegrationTestTimeBoundedRequestsWithRegionReplicas
public static class IntegrationTestTimeBoundedRequestsWithRegionReplicas.TimeBoundedMultiThreadedReader
extends org.apache.hadoop.hbase.util.MultiThreadedReader
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
private static class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected AtomicLong
protected AtomicLong
protected long
protected Thread
Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
aborted, DEFAULT_BATCH_SIZE, DEFAULT_KEY_WINDOW, DEFAULT_MAX_ERRORS, nullResult, numKeysVerified, numReadErrors, numReadFailures, readers, writer
Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
conf, connection, dataGenerator, endKey, numCols, numKeys, numThreads, numThreadsWorking, REPORTING_INTERVAL_MS, startKey, tableName, totalOpTimeMs, verbose
-
Constructor Summary
ConstructorDescriptionTimeBoundedMultiThreadedReader
(org.apache.hadoop.hbase.util.test.LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread
createReaderThread
(int readerId) protected String
void
start
(long startKey, long endKey, int numThreads) void
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
addReaderThreads, getNullResultsCount, getNumKeysVerified, getNumReadErrors, getNumReadFailures, getNumUniqueKeysVerified, linkToWriter, setKeyWindow, setMaxErrors, setMultiGetBatchSize, setRegionReplicaId
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator
-
Field Details
-
timeoutNano
-
timedOutReads
-
runTime
-
timeoutThread
-
staleReads
-
-
Constructor Details
-
TimeBoundedMultiThreadedReader
public TimeBoundedMultiThreadedReader(org.apache.hadoop.hbase.util.test.LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent) throws IOException - Throws:
IOException
-
-
Method Details
-
waitForFinish
- Overrides:
waitForFinish
in classorg.apache.hadoop.hbase.util.MultiThreadedAction
-
progressInfo
- Overrides:
progressInfo
in classorg.apache.hadoop.hbase.util.MultiThreadedReader
-
start
- Overrides:
start
in classorg.apache.hadoop.hbase.util.MultiThreadedReader
- Throws:
IOException
-
createReaderThread
protected org.apache.hadoop.hbase.util.MultiThreadedReader.HBaseReaderThread createReaderThread(int readerId) throws IOException - Overrides:
createReaderThread
in classorg.apache.hadoop.hbase.util.MultiThreadedReader
- Throws:
IOException
-