public class TestFromClientSide extends Object
HTable
.
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 |
---|---|
protected static int |
SLAVES |
protected static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestFromClientSide() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testAddKeyValue() |
void |
testAppend() |
void |
testCacheOnWriteEvictOnClose()
Tests that cache on write works all the way up from the client-side.
|
void |
testCheckAndDeleteWithCompareOp() |
void |
testCheckAndPut() |
void |
testCheckAndPutWithCompareOp() |
void |
testClientPoolRoundRobin() |
void |
testClientPoolThreadLocal() |
void |
testDeleteFamilyVersion() |
void |
testDeleteFamilyVersionWithOtherDeletes() |
void |
testDeletes() |
void |
testDeletesWithReverseScan() |
void |
testDuplicateVersions() |
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 |
testIllegalTableDescriptor() |
void |
testIncrement() |
void |
testIncrementingInvalidValue() |
void |
testIncrementInvalidArguments() |
void |
testIncrementOnSameColumn() |
void |
testIncrementOutOfOrder() |
void |
testIncrementWithDeletes() |
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 |
testMultipleRegionsAndBatchPuts() |
void |
testMultipleRowMultipleFamily() |
void |
testMultiRowMutation() |
void |
testNegativeTimestamp() |
void |
testNonCachedGetRegionLocation() |
void |
testNull() |
void |
testNullWithReverseScan() |
void |
testPurgeFutureDeletes()
Basic client side validation of HBASE-10118
|
void |
testPut() |
void |
testPutNoCF() |
void |
testRawScanRespectsVersions() |
void |
testReversedScanUnderMultiRegions()
Tests reversed scan under multi regions
|
void |
testRowMutation() |
void |
testRowsPut() |
void |
testRowsPutBufferedManyManyFlushes() |
void |
testRowsPutBufferedOneFlush() |
void |
testScan_NullQualifier() |
void |
testScanMetrics()
Test ScanMetrics
|
void |
testScanVariableReuse()
For HBASE-2156
|
void |
testSharedZooKeeper()
Deprecated.
Tests deprecated functionality. Remove when we are past 1.0.
|
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 HConnection 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.
|
protected static final HBaseTestingUtility TEST_UTIL
protected static int SLAVES
public void testKeepDeletedCells() throws Exception
Exception
public void testPurgeFutureDeletes() throws Exception
Exception
@Deprecated public void testSharedZooKeeper() throws Exception
Exception
public void testGetConfiguration() throws Exception
Exception
public void testWeirdCacheBehaviour() throws Exception
Exception
public void testFilterAcrossMultipleRegions() throws IOException, InterruptedException
IOException
InterruptedException
public void testFilterWithLongCompartor() throws Exception
Exception
public void testSimpleMissing() throws Exception
Exception
public void testSingleRowMultipleFamily() throws Exception
Exception
public void testDeleteFamilyVersionWithOtherDeletes() throws Exception
Exception
public void testMultipleRegionsAndBatchPuts() throws Exception
Exception
public void testMultipleRowMultipleFamily() throws Exception
Exception
public void testJiraTest867() throws Exception
Exception
public void testJiraTest861() throws Exception
Exception
public void testJiraTest33() throws Exception
Exception
public void testJiraTest1014() throws Exception
Exception
public void testJiraTest1182() throws Exception
Exception
public void testJiraTest52() throws Exception
Exception
public void testUpdatesWithMajorCompaction() throws Exception
Exception
public void testMajorCompactionBetweenTwoUpdates() throws Exception
Exception
public void testGet_EmptyTable() throws IOException
IOException
public void testGet_NullQualifier() throws IOException
IOException
public void testGet_NonExistentRow() throws IOException
IOException
public void testPut() throws IOException
IOException
public void testPutNoCF() throws IOException
IOException
public void testRowsPut() throws IOException
IOException
public void testRowsPutBufferedOneFlush() throws IOException
IOException
public void testRowsPutBufferedManyManyFlushes() throws IOException
IOException
public void testAddKeyValue() throws IOException
IOException
public void testHBase737() throws IOException
IOException
public void testListTables() throws IOException, InterruptedException
IOException
InterruptedException
public void testUnmanagedHConnection() throws IOException
IOException
public void testUnmanagedHConnectionReconnect() throws Exception
Exception
public void testMiscHTableStuff() throws IOException
IOException
public void testGetClosestRowBefore() throws IOException, InterruptedException
IOException
InterruptedException
public void testScanVariableReuse() throws Exception
Exception
public void testIncrementingInvalidValue() throws Exception
Exception
public void testIncrementInvalidArguments() throws Exception
Exception
public void testIncrementOnSameColumn() throws Exception
Exception
public void testClientPoolRoundRobin() throws IOException
IOException
public void testClientPoolThreadLocal() throws IOException
IOException
public void testCheckAndPut() throws IOException
IOException
public void testCheckAndPutWithCompareOp() throws IOException
IOException
public void testCheckAndDeleteWithCompareOp() throws IOException
IOException
public void testCacheOnWriteEvictOnClose() throws Exception
Exception
public void testNonCachedGetRegionLocation() throws Exception
Exception
public void testScan_NullQualifier() throws IOException
IOException
public void testNegativeTimestamp() throws IOException
IOException
public void testIllegalTableDescriptor() throws Exception
Exception
public void testRawScanRespectsVersions() throws Exception
Exception
public void testSuperSimpleWithReverseScan() throws Exception
Exception
public void testFiltersWithReverseScan() throws Exception
Exception
public void testKeyOnlyFilterWithReverseScan() throws Exception
Exception
public void testSimpleMissingWithReverseScan() throws Exception
Exception
public void testDeletesWithReverseScan() throws Exception
Exception
public void testReversedScanUnderMultiRegions() throws Exception
Exception
public void testSmallReversedScanUnderMultiRegions() throws Exception
Exception
public void testGetStartEndKeysWithRegionReplicas() throws IOException
IOException
public void testFilterAllRecords() throws IOException
IOException