Package org.apache.hadoop.hbase.client
Class TestMultiParallel
java.lang.Object
org.apache.hadoop.hbase.client.TestMultiParallel
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final byte[]
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.client.Connection
private static final String
private static final byte[][]
private static final org.slf4j.Logger
private static final byte[]
private static final byte[]
private static final int
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
private static final byte[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
void
before()
static void
private List<org.apache.hadoop.hbase.client.Put>
private void
doTestFlushCommits
(boolean doAbort) Set table auto flush to false and test flushing commitsprivate static byte[][]
makeKeys()
void
void
void
void
void
void
void
void
void
Only run one Multi test with a forced RegionServer abort.void
private void
validateEmpty
(Object r1) private void
validateLoadedData
(org.apache.hadoop.hbase.client.Table table) private void
private void
validateResult
(Object r1, byte[] qual, byte[] val) private void
validateSizeAndEmpty
(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
-
TestMultiParallel
public TestMultiParallel()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
before
- Throws:
Exception
-
makeKeys
-
testBatchWithGet
- Throws:
Exception
-
testBadFam
- Throws:
Exception
-
testFlushCommitsNoAbort
- Throws:
Exception
-
testFlushCommitsWithAbort
Only run one Multi test with a forced RegionServer abort. Otherwise, the unit tests will take an unnecessarily long time to run.- Throws:
Exception
-
doTestFlushCommits
Set 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
-
testBatchWithMixedActions
- Throws:
Exception
-
validateResult
-
validateResult
-
constructPutRequests
-
validateLoadedData
- Throws:
IOException
-
validateEmpty
-
validateSizeAndEmpty
-