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
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final int
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
before()
static void
static void
void
Verifies versions across a cluster restart.void
Port of old TestScanMultipleVersions test here so can better utilize the spun up cluster running more than just a single test.void
Tests 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.MasterNotRunningException
org.apache.hadoop.hbase.ZooKeeperConnectionException
IOException
-
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
-