public class MultiThreadedWriterWithACL extends MultiThreadedWriter
Modifier and Type | Class and Description |
---|---|
class |
MultiThreadedWriterWithACL.HBaseWriterThreadWithACL |
MultiThreadedWriter.HBaseWriterThread
MultiThreadedAction.DefaultDataGenerator
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.security.User |
userOwner |
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 |
---|
MultiThreadedWriterWithACL(LoadTestDataGenerator dataGen,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
org.apache.hadoop.hbase.security.User userOwner) |
Modifier and Type | Method and Description |
---|---|
protected void |
createWriterThreads(int numThreads) |
private void |
recordFailure(org.apache.hadoop.hbase.client.Table table,
org.apache.hadoop.hbase.client.Put put,
long keyBase,
long start,
IOException e) |
void |
start(long startKey,
long endKey,
int numThreads) |
setMultiPut, waitForFinish
createWriteKeysQueue, failedToWriteKey, getNumWriteFailures, getRegionDebugInfoSafe, progressInfo, setTrackWroteKeys, wroteUpToKey
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator
private static final org.slf4j.Logger LOG
private org.apache.hadoop.hbase.security.User userOwner
public MultiThreadedWriterWithACL(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.security.User userOwner) throws IOException
IOException
public void start(long startKey, long endKey, int numThreads) throws IOException
start
in class MultiThreadedWriter
IOException
protected void createWriterThreads(int numThreads) throws IOException
createWriterThreads
in class MultiThreadedWriter
IOException
private void recordFailure(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Put put, long keyBase, long start, IOException e)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.