public class TestFromClientSide4 extends FromClientSideBase
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.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
TableNameTestRule |
name |
FAMILY, INVALID_FAMILY, QUALIFIER, ROW, SLAVES, TEST_UTIL, VALUE| Constructor and Description |
|---|
TestFromClientSide4() |
TestFromClientSide4(Class registry,
int numHedgedReqs) |
| Modifier and Type | Method and Description |
|---|---|
static Collection |
parameters() |
static void |
tearDownAfterClass() |
void |
testAddKeyValue() |
void |
testBatchOperationsWithErrors()
Test batch operations with combination of valid and invalid args
|
void |
testDuplicateVersions() |
void |
testGet_EmptyTable() |
void |
testGet_NonExistentRow() |
void |
testGet_NullQualifier() |
void |
testHBase737()
test for HBASE-737
|
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 |
testListTables() |
void |
testMajorCompactionBetweenTwoUpdates() |
void |
testMiscHTableStuff() |
void |
testPut() |
void |
testPutNoCF() |
void |
testRowsPut() |
void |
testRowsPutBufferedManyManyFlushes() |
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() |
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, splitTableprivate static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public TableNameTestRule name
TestFromClientSide4()
public TestFromClientSide4(Class registry, int numHedgedReqs) throws Exception
Exceptionpublic static Collection parameters()
public static void tearDownAfterClass() throws Exception
Exceptionpublic void testBatchOperationsWithErrors() 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()
public void testHBase737() throws IOException
IOExceptionpublic void testListTables() throws IOException
IOExceptionpublic void testUnmanagedHConnection() throws IOException
IOExceptionpublic void testUnmanagedHConnectionReconnect() throws Exception
Exceptionpublic void testMiscHTableStuff() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.