Package org.apache.hadoop.hbase.client
Class TestMultiParallel
java.lang.Object
org.apache.hadoop.hbase.client.TestMultiParallel
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final byte[]static final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.client.Connectionprivate static final Stringprivate static final byte[][]private static final org.slf4j.Loggerprivate static final byte[]private static final byte[]private static final intprivate static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtilityprivate static final byte[]
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidvoidbefore()static voidprivate List<org.apache.hadoop.hbase.client.Put>private voiddoTestFlushCommits(boolean doAbort) Set table auto flush to false and test flushing commitsprivate static byte[][]makeKeys()voidThis is for testing the active number of threads that were used while doing a batch operation.voidvoidvoidvoidvoidvoidvoidvoidvoidOnly run one Multi test with a forced RegionServer abort.voidvoidprivate voidvalidateEmpty(Object r1) private voidvalidateLoadedData(org.apache.hadoop.hbase.client.Table table) private voidprivate voidvalidateResult(Object r1, byte[] qual, byte[] val) private voidvalidateSizeAndEmpty(Object[] results, int expectedSize) 
- 
Field Details- 
CLASS_RULE
- 
LOG
- 
UTIL
- 
VALUE
- 
QUALIFIER
- 
FAMILY- See Also:
 
- 
TEST_TABLE
- 
BYTES_FAMILY
- 
ONE_ROW
- 
KEYS
- 
slaves- See Also:
 
- 
CONNECTION
 
- 
- 
Constructor Details- 
TestMultiParallelpublic TestMultiParallel()
 
- 
- 
Method Details- 
beforeClass- Throws:
- Exception
 
- 
afterClass- Throws:
- Exception
 
- 
before- Throws:
- Exception
 
- 
makeKeys
- 
testActiveThreadsCountThis is for testing the active number of threads that were used while doing a batch operation. It inserts one row per region via the batch operation, and then checks the number of active threads. For HBASE-3553- Throws:
- Exception
 
- 
testBatchWithGet- Throws:
- Exception
 
- 
testBadFam- Throws:
- Exception
 
- 
testFlushCommitsNoAbort- Throws:
- Exception
 
- 
testFlushCommitsWithAbortOnly run one Multi test with a forced RegionServer abort. Otherwise, the unit tests will take an unnecessarily long time to run.- Throws:
- Exception
 
- 
doTestFlushCommitsSet table auto flush to false and test flushing commits- Parameters:
- doAbort- true if abort one regionserver in the testing
- Throws:
- Exception
 
- 
testBatchWithPut- Throws:
- Exception
 
- 
testBatchWithDelete- Throws:
- Exception
 
- 
testHTableDeleteWithList- Throws:
- Exception
 
- 
testBatchWithManyColsInOneRowGetAndPut- Throws:
- Exception
 
- 
testBatchWithIncrementAndAppend- Throws:
- Exception
 
- 
testNonceCollision- Throws:
- Exception
 
- 
testBatchWithMixedActions- Throws:
- Exception
 
- 
validateResult
- 
validateResult
- 
constructPutRequests
- 
validateLoadedData- Throws:
- IOException
 
- 
validateEmpty
- 
validateSizeAndEmpty
 
-