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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static byte[]
(package private) final org.slf4j.Logger
org.junit.rules.TestName
private static byte[]
private static byte[]
protected static int
protected static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
(package private) static void
assertIncrementKey
(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 void
static String
void
void
Test batch increment result when there are duplicate rpc request.void
Test increment result when there are duplicate rpc request.void
void
void
void
void
void
void
void
void
-
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
-