Package org.apache.hadoop.hbase.client
Class TestFromClientSide4
java.lang.Object
org.apache.hadoop.hbase.client.FromClientSideBase
org.apache.hadoop.hbase.client.TestFromClientSide4
- Direct Known Subclasses:
TestFromClientSideWithCoprocessor4
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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
Fields inherited from class org.apache.hadoop.hbase.client.FromClientSideBase
FAMILY, INVALID_FAMILY, QUALIFIER, ROW, SLAVES, TEST_UTIL, VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
static void
void
void
Test batch operations with combination of valid and invalid argsvoid
void
void
void
void
test for HBASE-737void
HBASE-1014 commit(BatchUpdate) method should return timestampvoid
HBASE-1182 Scan for columns > some timestampvoid
HBASE-33 Add a HTable get/obtainScanner method that retrieves all versions of a particular column and row between two timestampsvoid
HBASE-52 Add a means of scanning over all versionsvoid
HBASE-861 get with timestamp will return a value if there is a version with an earlier timestampvoid
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
void
void
void
testPut()
void
void
void
void
simple test that just executes parts of the client API that accept a pre-created Connection instancevoid
test of that unmanaged HConnections are able to reconnect properly (see HBASE-5058)void
void
Methods inherited from class org.apache.hadoop.hbase.client.FromClientSideBase
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
-
Field Details
-
LOG
-
CLASS_RULE
-
name
-
-
Constructor Details
-
TestFromClientSide4
-
TestFromClientSide4
- Throws:
Exception
-
-
Method Details
-
parameters
-
tearDownAfterClass
- Throws:
Exception
-
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
-
testGet_EmptyTable
- Throws:
IOException
-
testGet_NullQualifier
- Throws:
IOException
-
testGet_NonExistentRow
- Throws:
IOException
-
testPut
- Throws:
IOException
-
testPutNoCF
- Throws:
IOException
-
testRowsPut
- Throws:
IOException
-
testRowsPutBufferedManyManyFlushes
- Throws:
IOException
-
testAddKeyValue
-
testHBase737
test for HBASE-737- Throws:
IOException
-
testListTables
- Throws:
IOException
-
testUnmanagedHConnection
simple test that just executes parts of the client API that accept a pre-created Connection instance- Throws:
IOException
-
testUnmanagedHConnectionReconnect
test of that unmanaged HConnections are able to reconnect properly (see HBASE-5058)- Throws:
Exception
-
testMiscHTableStuff
- Throws:
IOException
-