Package org.apache.hadoop.hbase.client
Class TestIncrementsFromClientSide
java.lang.Object
org.apache.hadoop.hbase.client.TestIncrementsFromClientSide
- Direct Known Subclasses:
TestIncrementFromClientSideWithCoprocessor
Run Increment tests that use the HBase clients;
TableBuilder. Test is parameterized to
run the slow and fast increment code paths. If fast, in the @before, we do a rolling restart of
the single regionserver so that it can pick up the go fast configuration. Doing it this way
should be faster than starting/stopping a cluster per test. Test takes a long time because spin
up a cluster between each run -- ugh.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static byte[](package private) final org.slf4j.Loggerorg.junit.rules.TestNameprivate static byte[]private static byte[]protected static intprotected static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void(package private) static voidassertIncrementKey(org.apache.hadoop.hbase.Cell key, byte[] row, byte[] family, byte[] qualifier, long value) Call over to the adjacent class's method of same name.static voidstatic StringvoidvoidTest batch increment result when there are duplicate rpc request.voidTest increment result when there are duplicate rpc request.voidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
ROW
-
FAMILY
-
QUALIFIER
-
SLAVES
-
name
-
-
Constructor Details
-
TestIncrementsFromClientSide
public TestIncrementsFromClientSide()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
afterClass
- Throws:
Exception
-
testDuplicateIncrement
Test increment result when there are duplicate rpc request.- Throws:
Exception
-
testDuplicateBatchIncrement
Test batch increment result when there are duplicate rpc request.- Throws:
Exception
-
testIncrementWithDeletes
- Throws:
Exception
-
testIncrementingInvalidValue
- Throws:
Exception
-
testBatchIncrementsWithReturnResultFalse
- Throws:
Exception
-
testIncrementInvalidArguments
- Throws:
Exception
-
testIncrementOutOfOrder
- Throws:
Exception
-
testIncrementOnSameColumn
- Throws:
Exception
-
testIncrementIncrZeroAtFirst
- Throws:
Exception
-
testIncrement
- Throws:
Exception
-
testIncrementWithCustomTimestamp
- Throws:
IOException
-
assertIncrementKey
static void assertIncrementKey(org.apache.hadoop.hbase.Cell key, byte[] row, byte[] family, byte[] qualifier, long value) throws Exception Call over to the adjacent class's method of same name.- Throws:
Exception
-
filterStringSoTableNameSafe
-
testIncrementWithTtlTags
- Throws:
Exception
-