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 MultiThreadedReader
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
private static class
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
MultiThreadedReader.HBaseReaderThread
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
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
(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent) -
Method Summary
Modifier and TypeMethodDescriptionprotected MultiThreadedReader.HBaseReaderThread
createReaderThread
(int readerId) protected String
Returns a task-specific progress stringvoid
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(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 classMultiThreadedAction
-
progressInfo
Description copied from class:MultiThreadedAction
Returns a task-specific progress string- Overrides:
progressInfo
in classMultiThreadedReader
-
start
- Overrides:
start
in classMultiThreadedReader
- Throws:
IOException
-
createReaderThread
- Overrides:
createReaderThread
in classMultiThreadedReader
- Throws:
IOException
-