Package org.apache.hadoop.hbase.util
Class MultiThreadedReaderWithACL
java.lang.Object
org.apache.hadoop.hbase.util.MultiThreadedAction
org.apache.hadoop.hbase.util.MultiThreadedReader
org.apache.hadoop.hbase.util.MultiThreadedReaderWithACL
A MultiThreadReader that helps to work with ACL
-
Nested Class Summary
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 TypeFieldDescriptionprivate static final String
private static final org.slf4j.Logger
private String[]
Maps user with Table instance.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
ConstructorDescriptionMultiThreadedReaderWithACL
(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent, String userNames) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
createReaderThread, getNullResultsCount, getNumKeysVerified, getNumReadErrors, getNumReadFailures, getNumUniqueKeysVerified, linkToWriter, progressInfo, setKeyWindow, setMaxErrors, setMultiGetBatchSize, setRegionReplicaId, start
Methods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
appendToStatus, appendToStatus, close, getEndKey, isDone, startThreads, verifyResultAgainstDataGenerator, verifyResultAgainstDataGenerator, waitForFinish
-
Field Details
-
LOG
-
COMMA
- See Also:
-
userVsTable
Maps user with Table instance. Because the table instance has to be created per user inorder to work in that user's context -
users
-
userNames
-
-
Constructor Details
-
MultiThreadedReaderWithACL
public MultiThreadedReaderWithACL(LoadTestDataGenerator dataGen, org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.TableName tableName, double verifyPercent, String userNames) throws IOException - Throws:
IOException
-
-
Method Details
-
addReaderThreads
- Overrides:
addReaderThreads
in classMultiThreadedReader
- Throws:
IOException
-