public class TestFromClientSide extends FromClientSideBase
Table.
Sets up the HBase mini cluster once at start and runs through all client tests.
Each creates a table named for the method and does its stuff against that.
Parameterized to run with different registry implementations.
This class was split in three because it got too big when parameterized. Other classes
are below.TestFromClientSide4,
TestFromClientSide5| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
TableNameTestRule |
name |
FAMILY, INVALID_FAMILY, QUALIFIER, ROW, SLAVES, TEST_UTIL, VALUE| Constructor and Description |
|---|
TestFromClientSide() |
TestFromClientSide(Class registry,
int numHedgedReqs) |
| Modifier and Type | Method and Description |
|---|---|
static Collection |
parameters() |
static void |
tearDownAfterClass() |
void |
testDeleteFamilyVersion() |
void |
testDeleteFamilyVersionWithOtherDeletes() |
void |
testDeletes() |
void |
testDeleteWithFailed() |
void |
testDuplicateAppend()
Test append result when there are duplicate rpc request.
|
void |
testDuplicateBatchAppend()
Test batch append result when there are duplicate rpc request.
|
void |
testFilterAcrossMultipleRegions()
Test filters when multiple regions.
|
void |
testFilters() |
void |
testFilterWithLongCompartor() |
void |
testGetConfiguration()
Verifies that getConfiguration returns the same Configuration object used
to create the HTable instance.
|
void |
testKeepDeletedCells()
Basic client side validation of HBASE-4536
|
void |
testKeyOnlyFilter() |
void |
testMaxKeyValueSize() |
void |
testNullEmptyQualifier() |
void |
testNullFamilyName() |
void |
testNullQualifier() |
void |
testNullRowAndQualifier() |
void |
testNullTableName() |
void |
testNullValue() |
void |
testPurgeFutureDeletes()
Basic client side validation of HBASE-10118
|
void |
testSimpleMissing()
Test simple table and non-existent row cases.
|
void |
testSingleRowMultipleFamily()
Test basic puts, gets, scans, and deletes for a single row
in a multiple family table.
|
void |
testSuperSimple() |
void |
testVersionLimits() |
void |
testVersions() |
void |
testWeirdCacheBehaviour()
Test from client side of an involved filter against a multi family that
involves deletes.
|
afterClass, assertDoubleResult, assertEmptyResult, assertIncrementKey, assertKey, assertNResult, assertNResult, assertNullResult, assertNumKeys, assertRowCount, assertSingleResult, assertSingleResult, assertSingleResult, buildScanner, createScanWithRowFilter, createScanWithRowFilter, deleteColumns, equals, getAllVersionsAndVerify, getNumberOfRows, getSingleScanResult, getTestNull, getTestNull, getVerifySingleColumn, getVerifySingleEmpty, getVersionAndVerify, getVersionAndVerifyMissing, getVersionRangeAndVerify, getVersionRangeAndVerifyGreaterThan, initialize, isSameParameterizedCluster, makeN, makeNAscii, makeNBig, makeStamps, putRows, scanAllVersionsAndVerify, scanTestNull, scanTestNull, scanVerifySingleColumn, scanVerifySingleEmpty, scanVersionAndVerify, scanVersionAndVerifyMissing, scanVersionRangeAndVerify, scanVersionRangeAndVerifyGreaterThan, singleRowGetTest, singleRowScanTest, splitTableprivate static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public TableNameTestRule name
TestFromClientSide()
public TestFromClientSide(Class registry, int numHedgedReqs) throws Exception
Exceptionpublic static Collection parameters()
public static void tearDownAfterClass() throws Exception
Exceptionpublic void testDuplicateAppend() throws Exception
Exceptionpublic void testDuplicateBatchAppend() throws Exception
Exceptionpublic void testKeepDeletedCells() throws Exception
Exceptionpublic void testPurgeFutureDeletes() throws Exception
Exceptionpublic void testGetConfiguration() throws Exception
Exceptionpublic void testWeirdCacheBehaviour() throws Exception
Exceptionpublic void testFilterAcrossMultipleRegions() throws IOException
IOExceptionpublic void testSuperSimple() throws Exception
Exceptionpublic void testMaxKeyValueSize() throws Exception
Exceptionpublic void testFilters() throws Exception
Exceptionpublic void testFilterWithLongCompartor() throws Exception
Exceptionpublic void testKeyOnlyFilter() throws Exception
Exceptionpublic void testSimpleMissing() throws Exception
Exceptionpublic void testSingleRowMultipleFamily() throws Exception
Exceptionpublic void testNullTableName() throws IOException
IOExceptionpublic void testNullFamilyName() throws IOException
IOExceptionpublic void testNullRowAndQualifier() throws Exception
Exceptionpublic void testNullEmptyQualifier() throws Exception
Exceptionpublic void testNullValue() throws IOException
IOExceptionpublic void testNullQualifier() throws Exception
Exceptionpublic void testVersions() throws Exception
Exceptionpublic void testVersionLimits() throws Exception
Exceptionpublic void testDeleteFamilyVersion() throws Exception
Exceptionpublic void testDeleteFamilyVersionWithOtherDeletes() throws Exception
Exceptionpublic void testDeleteWithFailed() throws Exception
Exceptionpublic void testDeletes() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.