Package org.apache.hadoop.hbase.client
Class TestFromClientSide
java.lang.Object
org.apache.hadoop.hbase.client.FromClientSideBase
org.apache.hadoop.hbase.client.TestFromClientSide
- Direct Known Subclasses:
TestFromClientSideWithCoprocessor
Run tests that use the HBase clients;
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.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.client.FromClientSideBase
FAMILY, INVALID_FAMILY, QUALIFIER, ROW, SLAVES, TEST_UTIL, VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
static void
void
void
void
void
void
Test append result when there are duplicate rpc request.void
Test batch append result when there are duplicate rpc request.void
Test filters when multiple regions.void
void
void
Verifies that getConfiguration returns the same Configuration object used to create the HTable instance.void
Basic client side validation of HBASE-4536void
void
void
void
void
void
void
void
void
Basic client side validation of HBASE-10118void
Test simple table and non-existent row cases.void
Test basic puts, gets, scans, and deletes for a single row in a multiple family table.void
void
void
void
Test from client side of an involved filter against a multi family that involves deletes.Methods inherited from class org.apache.hadoop.hbase.client.FromClientSideBase
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
-
Field Details
-
LOG
-
CLASS_RULE
-
name
-
-
Constructor Details
-
TestFromClientSide
-
TestFromClientSide
- Throws:
Exception
-
-
Method Details
-
parameters
-
tearDownAfterClass
- Throws:
Exception
-
testDuplicateAppend
Test append result when there are duplicate rpc request.- Throws:
Exception
-
testDuplicateBatchAppend
Test batch append result when there are duplicate rpc request.- Throws:
Exception
-
testKeepDeletedCells
Basic client side validation of HBASE-4536- Throws:
Exception
-
testPurgeFutureDeletes
Basic client side validation of HBASE-10118- Throws:
Exception
-
testGetConfiguration
Verifies that getConfiguration returns the same Configuration object used to create the HTable instance.- Throws:
Exception
-
testWeirdCacheBehaviour
Test from client side of an involved filter against a multi family that involves deletes.- Throws:
Exception
-
testFilterAcrossMultipleRegions
Test filters when multiple regions. It does counts. Needs eye-balling of logs to ensure that we're not scanning more regions that we're supposed to. Related to the TestFilterAcrossRegions over in the o.a.h.h.filter package.- Throws:
IOException
-
testSuperSimple
- Throws:
Exception
-
testMaxKeyValueSize
- Throws:
Exception
-
testFilters
- Throws:
Exception
-
testFilterWithLongCompartor
- Throws:
Exception
-
testKeyOnlyFilter
- Throws:
Exception
-
testSimpleMissing
Test simple table and non-existent row cases.- Throws:
Exception
-
testSingleRowMultipleFamily
Test basic puts, gets, scans, and deletes for a single row in a multiple family table.- Throws:
Exception
-
testNullTableName
- Throws:
IOException
-
testNullFamilyName
- Throws:
IOException
-
testNullRowAndQualifier
- Throws:
Exception
-
testNullEmptyQualifier
- Throws:
Exception
-
testNullValue
- Throws:
IOException
-
testNullQualifier
- Throws:
Exception
-
testVersions
- Throws:
Exception
-
testVersionLimits
- Throws:
Exception
-
testDeleteFamilyVersion
- Throws:
Exception
-
testDeleteFamilyVersionWithOtherDeletes
- Throws:
Exception
-
testDeleteWithFailed
- Throws:
Exception
-
testDeletes
- Throws:
Exception
-