Package org.apache.hadoop.hbase.util
Class MultiThreadedWriterWithACL
java.lang.Object
org.apache.hadoop.hbase.util.MultiThreadedAction
org.apache.hadoop.hbase.util.MultiThreadedWriterBase
org.apache.hadoop.hbase.util.MultiThreadedWriter
org.apache.hadoop.hbase.util.MultiThreadedWriterWithACL
MultiThreadedWriter that helps in testing ACL
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedWriter
MultiThreadedWriter.HBaseWriterThread
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
MultiThreadedAction.DefaultDataGenerator
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final org.slf4j.Logger
private org.apache.hadoop.hbase.security.User
Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedWriter
isMultiPut, writers
Fields inherited from class org.apache.hadoop.hbase.util.MultiThreadedWriterBase
failedKeySet, nextKeyToWrite, trackWroteKeys, wroteKeyQueueSize, wroteKeys, wroteUpToKey
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
ConstructorDescriptionMultiThreadedWriterWithACL
(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, org.apache.hadoop.hbase.security.User userOwner) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedWriter
setMultiPut, waitForFinish
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedWriterBase
createWriteKeysQueue, failedToWriteKey, getNumWriteFailures, getRegionDebugInfoSafe, progressInfo, setTrackWroteKeys, wroteUpToKey
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator
-
Field Details
-
LOG
-
userOwner
-
-
Constructor Details
-
MultiThreadedWriterWithACL
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 - Throws:
IOException
-
-
Method Details
-
start
- Overrides:
start
in classMultiThreadedWriter
- Throws:
IOException
-
createWriterThreads
- Overrides:
createWriterThreads
in classMultiThreadedWriter
- Throws:
IOException
-
recordFailure
private void recordFailure(org.apache.hadoop.hbase.client.Table table, org.apache.hadoop.hbase.client.Put put, long keyBase, long start, IOException e)
-