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, splitTable
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public TableNameTestRule name
TestFromClientSide()
public TestFromClientSide(Class registry, int numHedgedReqs) throws Exception
Exception
public static Collection parameters()
public static void tearDownAfterClass() throws Exception
Exception
public void testDuplicateAppend() throws Exception
Exception
public void testDuplicateBatchAppend() throws Exception
Exception
public void testKeepDeletedCells() throws Exception
Exception
public void testPurgeFutureDeletes() throws Exception
Exception
public void testGetConfiguration() throws Exception
Exception
public void testWeirdCacheBehaviour() throws Exception
Exception
public void testFilterAcrossMultipleRegions() throws IOException
IOException
public void testSuperSimple() throws Exception
Exception
public void testMaxKeyValueSize() throws Exception
Exception
public void testFilters() throws Exception
Exception
public void testFilterWithLongCompartor() throws Exception
Exception
public void testKeyOnlyFilter() throws Exception
Exception
public void testSimpleMissing() throws Exception
Exception
public void testSingleRowMultipleFamily() throws Exception
Exception
public void testNullTableName() throws IOException
IOException
public void testNullFamilyName() throws IOException
IOException
public void testNullRowAndQualifier() throws Exception
Exception
public void testNullEmptyQualifier() throws Exception
Exception
public void testNullValue() throws IOException
IOException
public void testNullQualifier() throws Exception
Exception
public void testVersions() throws Exception
Exception
public void testVersionLimits() throws Exception
Exception
public void testDeleteFamilyVersion() throws Exception
Exception
public void testDeleteFamilyVersionWithOtherDeletes() throws Exception
Exception
public void testDeleteWithFailed() throws Exception
Exception
public void testDeletes() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.