Package org.apache.hadoop.hbase.client
Class FromClientSideTest1
java.lang.Object
org.apache.hadoop.hbase.client.FromClientSideTestBase
org.apache.hadoop.hbase.client.FromClientSideTest1
- Direct Known Subclasses:
TestFromClientSide1,TestFromClientSide1WithCoprocessor,TestFromClientSide1WoUnsafe
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
FieldsFields inherited from class org.apache.hadoop.hbase.client.FromClientSideTestBase
FAMILY, INVALID_FAMILY, numHedgedReqs, QUALIFIER, registryImpl, ROW, SLAVES, tableName, TEST_UTIL, VALUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFromClientSideTest1(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidTest append result when there are duplicate rpc request.voidTest batch append result when there are duplicate rpc request.voidvoidvoidVerifies that getConfiguration returns the same Configuration object used to create the HTable instance.voidBasic client side validation of HBASE-4536voidvoidvoidvoidvoidvoidvoidvoidvoidBasic client side validation of HBASE-10118voidTest simple table and non-existent row cases.voidTest basic puts, gets, scans, and deletes for a single row in a multiple family table.voidvoidvoidvoidTest from client side of an involved filter against a multi family that involves deletes.Methods inherited from class org.apache.hadoop.hbase.client.FromClientSideTestBase
assertDoubleResult, assertEmptyResult, assertIncrementKey, assertKey, assertNResult, assertNResult, assertNullResult, assertNumKeys, assertRowCount, assertSingleResult, assertSingleResult, assertSingleResult, buildScanner, createScanWithRowFilter, createScanWithRowFilter, deleteColumns, equals, getAllVersionsAndVerify, getClientConf, getConnection, getNumberOfRows, getSingleScanResult, getTestNull, getTestNull, getVerifySingleColumn, getVerifySingleEmpty, getVersionAndVerify, getVersionAndVerifyMissing, getVersionRangeAndVerify, getVersionRangeAndVerifyGreaterThan, initialize, makeN, makeNAscii, makeNBig, makeStamps, parameters, putRows, scanAllVersionsAndVerify, scanTestNull, scanTestNull, scanVerifySingleColumn, scanVerifySingleEmpty, scanVersionAndVerify, scanVersionAndVerifyMissing, scanVersionRangeAndVerify, scanVersionRangeAndVerifyGreaterThan, setUp, singleRowGetTest, singleRowScanTest, splitTable, tearDown, tearDownAfterClass
-
Field Details
-
LOG
-
-
Constructor Details
-
FromClientSideTest1
protected FromClientSideTest1(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs)
-
-
Method Details
-
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
-
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:
Exception
-
testNullQualifier
- Throws:
Exception
-
testVersions
- Throws:
Exception
-
testVersionLimits
- Throws:
Exception
-
testDeleteFamilyVersion
- Throws:
Exception
-
testDeleteFamilyVersionWithOtherDeletes
- Throws:
Exception
-
testDeleteWithFailed
- Throws:
Exception
-
testDeletes
- Throws:
Exception
-