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
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.LoggerFields inherited from class org.apache.hadoop.hbase.client.FromClientSideBase
FAMILY, INVALID_FAMILY, QUALIFIER, ROW, SLAVES, TEST_UTIL, VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collectionstatic voidvoidvoidTest batch operations with combination of valid and invalid argsvoidvoidvoidvoidvoidtest for HBASE-737voidHBASE-1014 commit(BatchUpdate) method should return timestampvoidHBASE-1182 Scan for columns > some timestampvoidHBASE-33 Add a HTable get/obtainScanner method that retrieves all versions of a particular column and row between two timestampsvoidHBASE-52 Add a means of scanning over all versionsvoidHBASE-861 get with timestamp will return a value if there is a version with an earlier timestampvoidHBASE-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.voidvoidvoidvoidtestPut()voidvoidvoidvoidsimple test that just executes parts of the client API that accept a pre-created Connection instancevoidtest of that unmanaged HConnections are able to reconnect properly (see HBASE-5058)voidvoidMethods 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
-