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 ClassesNested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedReader
MultiThreadedReader.HBaseReaderThreadNested classes/interfaces inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction
MultiThreadedAction.DefaultDataGenerator -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final org.slf4j.Loggerprivate 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, writerFields 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
ConstructorsConstructorDescriptionMultiThreadedReaderWithACL(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, startMethods 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:
addReaderThreadsin classMultiThreadedReader- Throws:
IOException
-