Package org.apache.hadoop.hbase.client
Class FromClientSideTest4
java.lang.Object
org.apache.hadoop.hbase.client.FromClientSideTestBase
org.apache.hadoop.hbase.client.FromClientSideTest4
- Direct Known Subclasses:
TestFromClientSide4,TestFromClientSide4WithCoprocessor
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.-
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
ConstructorsModifierConstructorDescriptionprotectedFromClientSideTest4(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs) -
Method Summary
Modifier and TypeMethodDescriptionvoidTest batch operations with combination of valid and invalid argsvoidvoidvoidvoidvoidtest for HBASE-737voidHBASE-1014 commit(BatchUpdate) method should return timestampvoidHBASE-1182 Scan for columns > some timestampvoidHBASE-33 Add a HTable get/obtainScanner method that retrieves all versions of a particular column and row between two timestampsvoidHBASE-52 Add a means of scanning over all versionsvoidHBASE-861 get with timestamp will return a value if there is a version with an earlier timestampvoidHBASE-867 If millions of columns in a column family, hbase scanner won't come up Test will create numRows rows, each with numColsPerRow columns (1 version each), and attempt to scan them all.voidvoidvoidvoidtestPut()voidvoidvoidvoidvoidMethods 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
-
FromClientSideTest4
protected FromClientSideTest4(Class<? extends org.apache.hadoop.hbase.client.ConnectionRegistry> registryImpl, int numHedgedReqs)
-
-
Method Details
-
testBatchOperationsWithErrors
Test batch operations with combination of valid and invalid args- Throws:
Exception
-
testJiraTest867
HBASE-867 If millions of columns in a column family, hbase scanner won't come up Test will create numRows rows, each with numColsPerRow columns (1 version each), and attempt to scan them all. To test at scale, up numColsPerRow to the millions (have not gotten that to work running as junit though)- Throws:
Exception
-
testJiraTest861
HBASE-861 get with timestamp will return a value if there is a version with an earlier timestamp- Throws:
Exception
-
testJiraTest33
HBASE-33 Add a HTable get/obtainScanner method that retrieves all versions of a particular column and row between two timestamps- Throws:
Exception
-
testJiraTest1014
HBASE-1014 commit(BatchUpdate) method should return timestamp- Throws:
Exception
-
testJiraTest1182
HBASE-1182 Scan for columns > some timestamp- Throws:
Exception
-
testJiraTest52
HBASE-52 Add a means of scanning over all versions- Throws:
Exception
-
testDuplicateVersions
- Throws:
Exception
-
testUpdates
- Throws:
Exception
-
testUpdatesWithMajorCompaction
- Throws:
Exception
-
testMajorCompactionBetweenTwoUpdates
- Throws:
Exception
-
testGetEmptyTable
- Throws:
IOException
-
testGetNullQualifier
- Throws:
IOException
-
testGetNonExistentRow
- Throws:
IOException
-
testPut
- Throws:
IOException
-
testPutNoCF
- Throws:
IOException
-
testRowsPut
- Throws:
IOException
-
testRowsPutBufferedManyManyFlushes
- Throws:
IOException
-
testHBase737
test for HBASE-737- Throws:
IOException
-
testListTables
- Throws:
IOException
-
testMiscHTableStuff
- Throws:
IOException
-