Package org.apache.hadoop.hbase
Class TestMultiVersions
java.lang.Object
org.apache.hadoop.hbase.TestMultiVersions
Port of old TestScanMultipleVersions, TestTimestamp and TestGetRowVersions from old testing
framework to
HBaseTestingUtility.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final intprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore()static voidstatic voidvoidVerifies versions across a cluster restart.voidPort of old TestScanMultipleVersions test here so can better utilize the spun up cluster running more than just a single test.voidTests user specifiable time stamps putting, getting and scanning.
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
admin
-
NUM_SLAVES
- See Also:
-
name
-
-
Constructor Details
-
TestMultiVersions
public TestMultiVersions()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
before
public void before() throws org.apache.hadoop.hbase.MasterNotRunningException, org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException- Throws:
org.apache.hadoop.hbase.MasterNotRunningExceptionorg.apache.hadoop.hbase.ZooKeeperConnectionExceptionIOException
-
testTimestamps
Tests user specifiable time stamps putting, getting and scanning. Also tests same in presence of deletes. Test cores are written so can be run against an HRegion and against an HTable: i.e. both local and remote.Port of old TestTimestamp test to here so can better utilize the spun up cluster running more than a single test per spin up. Keep old tests' crazyness.
- Throws:
Exception
-
testGetRowVersions
Verifies versions across a cluster restart. Port of old TestGetRowVersions test to here so can better utilize the spun up cluster running more than a single test per spin up. Keep old tests' crazyness.- Throws:
Exception
-
testScanMultipleVersions
Port of old TestScanMultipleVersions test here so can better utilize the spun up cluster running more than just a single test. Keep old tests crazyness.Tests five cases of scans and timestamps.
- Throws:
Exception
-