public class TestFromClientSide extends Object
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.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
protected static int |
SLAVES |
protected static HBaseTestingUtility |
TEST_UTIL |
| Constructor and Description |
|---|
TestFromClientSide() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
initialize(Class<?>... cps) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAddKeyValue() |
void |
testAppend() |
void |
testAppendWithoutWAL() |
void |
testBatchAppendWithReturnResultFalse() |
void |
testBatchOperationsWithErrors()
Test batch operations with combination of valid and invalid args
|
void |
testCacheOnWriteEvictOnClose()
Tests that cache on write works all the way up from the client-side.
|
void |
testCellSizeLimit() |
void |
testCellUtilTypeMethods() |
void |
testCheckAndDelete() |
void |
testCheckAndDeleteWithCompareOp() |
void |
testCheckAndMutateWithTimeRange() |
void |
testCheckAndPut() |
void |
testCheckAndPutWithCompareOp() |
void |
testClientPoolRoundRobin() |
void |
testClientPoolThreadLocal() |
void |
testCreateTableWithZeroRegionReplicas() |
void |
testDeleteFamilyVersion() |
void |
testDeleteFamilyVersionWithOtherDeletes() |
void |
testDeleteLatestVersionOfSpecifiedColumn() |
void |
testDeletes() |
void |
testDeleteSpecifiedVersionOfSpecifiedColumn() |
void |
testDeletesWithReverseScan() |
void |
testDeleteWithFailed() |
void |
testDuplicateAppend()
Test append result when there are duplicate rpc request.
|
void |
testDuplicateVersions() |
void |
testEmptyFilterList() |
void |
testFilterAcrossMultipleRegions()
Test filters when multiple regions.
|
void |
testFilterAllRecords() |
void |
testFilters() |
void |
testFiltersWithReverseScan() |
void |
testFilterWithLongCompartor() |
void |
testGet_EmptyTable() |
void |
testGet_NonExistentRow() |
void |
testGet_NullQualifier() |
void |
testGetClosestRowBefore() |
void |
testGetConfiguration()
Verifies that getConfiguration returns the same Configuration object used
to create the HTable instance.
|
void |
testGetRegionsInRange() |
void |
testGetStartEndKeysWithRegionReplicas() |
void |
testHBase737()
test for HBASE-737
|
void |
testJira6912() |
void |
testJiraTest1014()
HBASE-1014
commit(BatchUpdate) method should return timestamp
|
void |
testJiraTest1182()
HBASE-1182
Scan for columns > some timestamp
|
void |
testJiraTest33()
HBASE-33
Add a HTable get/obtainScanner method that retrieves all versions of a
particular column and row between two timestamps
|
void |
testJiraTest52()
HBASE-52
Add a means of scanning over all versions
|
void |
testJiraTest861()
HBASE-861
get with timestamp will return a value if there is a version with an
earlier timestamp
|
void |
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.
|
void |
testKeepDeletedCells()
Basic client side validation of HBASE-4536
|
void |
testKeyOnlyFilter() |
void |
testKeyOnlyFilterWithReverseScan() |
void |
testListTables() |
void |
testMajorCompactionBetweenTwoUpdates() |
void |
testMaxKeyValueSize() |
void |
testMillions() |
void |
testMiscHTableStuff() |
void |
testModifyTableWithZeroRegionReplicas() |
void |
testMultipleRegionsAndBatchPuts() |
void |
testMultipleRowMultipleFamily() |
void |
testMultiRowMutation() |
void |
testNegativeTimestamp() |
void |
testNonCachedGetRegionLocation() |
void |
testNull() |
void |
testNullQualifier() |
void |
testNullWithReverseScan() |
void |
testPurgeFutureDeletes()
Basic client side validation of HBASE-10118
|
void |
testPut() |
void |
testPutNoCF() |
void |
testRawScanRespectsVersions() |
void |
testReadWithFilter()
Test for HBASE-17125
|
void |
testRegionCache() |
void |
testReversedScanUnderMultiRegions()
Tests reversed scan under multi regions
|
void |
testRowMutation() |
void |
testRowsPut() |
void |
testRowsPutBufferedManyManyFlushes() |
void |
testScan_NullQualifier() |
void |
testScanMetrics()
Test ScanMetrics
|
void |
testScanVariableReuse()
For HBASE-2156
|
void |
testSimpleMissing()
Test simple table and non-existent row cases.
|
void |
testSimpleMissingWithReverseScan()
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 |
testSmallReversedScanUnderMultiRegions()
Tests reversed scan under multi regions
|
void |
testSmallScan() |
void |
testSuperSimple() |
void |
testSuperSimpleWithReverseScan() |
void |
testUnmanagedHConnection()
simple test that just executes parts of the client
API that accept a pre-created Connection instance
|
void |
testUnmanagedHConnectionReconnect()
test of that unmanaged HConnections are able to reconnect
properly (see HBASE-5058)
|
void |
testUpdates() |
void |
testUpdatesWithMajorCompaction() |
void |
testVersionLimits() |
void |
testVersions() |
void |
testWeirdCacheBehaviour()
Test from client side of an involved filter against a multi family that
involves deletes.
|
public static final HBaseClassTestRule CLASS_RULE
protected static final HBaseTestingUtility TEST_UTIL
protected static int SLAVES
public org.junit.rules.TestName name
public TestFromClientSide()
protected static final void initialize(Class<?>... cps) throws Exception
Exceptionpublic static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testDuplicateAppend() 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, InterruptedException
IOExceptionInterruptedExceptionpublic 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 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
Exceptionpublic void testBatchOperationsWithErrors() throws Exception
Exceptionpublic void testMillions() throws Exception
Exceptionpublic void testMultipleRegionsAndBatchPuts() throws Exception
Exceptionpublic void testMultipleRowMultipleFamily() throws Exception
Exceptionpublic void testJiraTest867() throws Exception
Exceptionpublic void testJiraTest861() throws Exception
Exceptionpublic void testJiraTest33() throws Exception
Exceptionpublic void testJiraTest1014() throws Exception
Exceptionpublic void testJiraTest1182() throws Exception
Exceptionpublic void testJiraTest52() throws Exception
Exceptionpublic void testDuplicateVersions() throws Exception
Exceptionpublic void testUpdates() throws Exception
Exceptionpublic void testUpdatesWithMajorCompaction() throws Exception
Exceptionpublic void testMajorCompactionBetweenTwoUpdates() throws Exception
Exceptionpublic void testGet_EmptyTable() throws IOException
IOExceptionpublic void testGet_NullQualifier() throws IOException
IOExceptionpublic void testGet_NonExistentRow() throws IOException
IOExceptionpublic void testPut() throws IOException
IOExceptionpublic void testPutNoCF() throws IOException
IOExceptionpublic void testRowsPut() throws IOException
IOExceptionpublic void testRowsPutBufferedManyManyFlushes() throws IOException
IOExceptionpublic void testAddKeyValue() throws IOException
IOExceptionpublic void testHBase737() throws IOException
IOExceptionpublic void testListTables() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testUnmanagedHConnection() throws IOException
IOExceptionpublic void testUnmanagedHConnectionReconnect() throws Exception
Exceptionpublic void testMiscHTableStuff() throws IOException
IOExceptionpublic void testGetClosestRowBefore() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testScanVariableReuse() throws Exception
Exceptionpublic void testMultiRowMutation() throws Exception
Exceptionpublic void testRowMutation() throws Exception
Exceptionpublic void testBatchAppendWithReturnResultFalse() throws Exception
Exceptionpublic void testAppend() throws Exception
Exceptionpublic void testAppendWithoutWAL() throws Exception
Exceptionpublic void testClientPoolRoundRobin() throws IOException
IOExceptionpublic void testClientPoolThreadLocal() throws IOException
IOExceptionpublic void testCheckAndPut() throws IOException
IOExceptionpublic void testCheckAndMutateWithTimeRange() throws IOException
IOExceptionpublic void testCheckAndPutWithCompareOp() throws IOException
IOExceptionpublic void testCheckAndDelete() throws IOException
IOExceptionpublic void testCheckAndDeleteWithCompareOp() throws IOException
IOExceptionpublic void testScanMetrics() throws Exception
Exceptionpublic void testCacheOnWriteEvictOnClose() throws Exception
Exceptionpublic void testNonCachedGetRegionLocation() throws Exception
Exceptionpublic void testGetRegionsInRange() throws Exception
Exceptionpublic void testJira6912() throws Exception
Exceptionpublic void testScan_NullQualifier() throws IOException
IOExceptionpublic void testNegativeTimestamp() throws IOException
IOExceptionpublic void testRawScanRespectsVersions() throws Exception
Exceptionpublic void testEmptyFilterList() throws Exception
Exceptionpublic void testSmallScan() throws Exception
Exceptionpublic void testSuperSimpleWithReverseScan() throws Exception
Exceptionpublic void testFiltersWithReverseScan() throws Exception
Exceptionpublic void testKeyOnlyFilterWithReverseScan() throws Exception
Exceptionpublic void testSimpleMissingWithReverseScan() throws Exception
Exceptionpublic void testNullWithReverseScan() throws Exception
Exceptionpublic void testDeletesWithReverseScan() throws Exception
Exceptionpublic void testReversedScanUnderMultiRegions() throws Exception
Exceptionpublic void testSmallReversedScanUnderMultiRegions() throws Exception
Exceptionpublic void testGetStartEndKeysWithRegionReplicas() throws IOException
IOExceptionpublic void testFilterAllRecords() throws IOException
IOExceptionpublic void testRegionCache() throws IOException
IOExceptionpublic void testCellSizeLimit() throws IOException
IOExceptionpublic void testDeleteSpecifiedVersionOfSpecifiedColumn() throws Exception
Exceptionpublic void testDeleteLatestVersionOfSpecifiedColumn() throws Exception
Exceptionpublic void testReadWithFilter() throws Exception
Exceptionpublic void testCellUtilTypeMethods() throws IOException
IOExceptionpublic void testCreateTableWithZeroRegionReplicas() throws Exception
Exceptionpublic void testModifyTableWithZeroRegionReplicas() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.