public class MultiThreadedUpdaterWithACL extends MultiThreadedUpdater
Modifier and Type | Class and Description |
---|---|
class |
MultiThreadedUpdaterWithACL.HBaseUpdaterThreadWithACL |
MultiThreadedUpdater.HBaseUpdaterThread
MultiThreadedAction.DefaultDataGenerator
Modifier and Type | Field and Description |
---|---|
private static String |
COMMA |
private static org.slf4j.Logger |
LOG |
private String[] |
userNames |
private org.apache.hadoop.hbase.security.User |
userOwner |
private Map<String,org.apache.hadoop.hbase.security.User> |
users |
private Map<String,org.apache.hadoop.hbase.client.Table> |
userVsTable
Maps user with Table instance.
|
updaters
failedKeySet, nextKeyToWrite, trackWroteKeys, wroteKeyQueueSize, wroteKeys, wroteUpToKey
conf, connection, dataGenerator, endKey, numCols, numKeys, numThreads, numThreadsWorking, REPORTING_INTERVAL_MS, startKey, tableName, totalOpTimeMs, verbose
Constructor and Description |
---|
MultiThreadedUpdaterWithACL(LoadTestDataGenerator dataGen,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.TableName tableName,
double updatePercent,
org.apache.hadoop.hbase.security.User userOwner,
String userNames) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUpdaterThreads(int numThreads) |
linkToWriter, mutate, mutate, setBatchUpdate, setIgnoreNonceConflicts, start, waitForFinish
createWriteKeysQueue, failedToWriteKey, getNumWriteFailures, getRegionDebugInfoSafe, progressInfo, setTrackWroteKeys, wroteUpToKey
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator
private static final org.slf4j.Logger LOG
private static final String COMMA
private org.apache.hadoop.hbase.security.User userOwner
private Map<String,org.apache.hadoop.hbase.client.Table> userVsTable
public MultiThreadedUpdaterWithACL(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double updatePercent, org.apache.hadoop.hbase.security.User userOwner, String userNames) throws IOException
IOException
protected void addUpdaterThreads(int numThreads) throws IOException
addUpdaterThreads
in class MultiThreadedUpdater
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.