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, splitTable
private static final org.slf4j.Logger LOG
public static final HBaseClassTestRule CLASS_RULE
public TableNameTestRule name
TestFromClientSide4()
public TestFromClientSide4(Class registry, int numHedgedReqs) throws Exception
Exception
public static Collection parameters()
public static void tearDownAfterClass() throws Exception
Exception
public void testBatchOperationsWithErrors() 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 testDuplicateVersions() throws Exception
Exception
public void testUpdates() 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 testRowsPutBufferedManyManyFlushes() throws IOException
IOException
public void testAddKeyValue()
public void testHBase737() throws IOException
IOException
public void testListTables() throws IOException
IOException
public void testUnmanagedHConnection() throws IOException
IOException
public void testUnmanagedHConnectionReconnect() throws Exception
Exception
public void testMiscHTableStuff() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.