public static class IntegrationTestRegionReplicaReplication.DelayingMultiThreadedWriter extends MultiThreadedWriter
MultiThreadedWriter.HBaseWriterThread
MultiThreadedAction.DefaultDataGenerator
Modifier and Type | Field and Description |
---|---|
private long |
delayMs |
isMultiPut, writers
failedKeySet, nextKeyToWrite, trackWroteKeys, wroteKeyQueueSize, wroteKeys, wroteUpToKey
conf, connection, dataGenerator, endKey, numCols, numKeys, numThreads, numThreadsWorking, REPORTING_INTERVAL_MS, startKey, tableName, totalOpTimeMs, verbose
Constructor and Description |
---|
DelayingMultiThreadedWriter(LoadTestDataGenerator dataGen,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName) |
Modifier and Type | Method and Description |
---|---|
protected BlockingQueue<Long> |
createWriteKeysQueue(org.apache.hadoop.conf.Configuration conf) |
createWriterThreads, setMultiPut, start, waitForFinish
failedToWriteKey, getNumWriteFailures, getRegionDebugInfoSafe, progressInfo, setTrackWroteKeys, wroteUpToKey
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator
private long delayMs
public DelayingMultiThreadedWriter(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName) throws IOException
IOException
protected BlockingQueue<Long> createWriteKeysQueue(org.apache.hadoop.conf.Configuration conf)
createWriteKeysQueue
in class MultiThreadedWriterBase
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.