public class TestMultiVersions extends Object
HBaseTestingUtility
.Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
NUM_SLAVES |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestMultiVersions() |
Modifier and Type | Method and Description |
---|---|
void |
before() |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetRowVersions()
Verifies versions across a cluster restart.
|
void |
testScanMultipleVersions()
Port of old TestScanMultipleVersions test here so can better utilize the
spun up cluster running more than just a single test.
|
void |
testTimestamps()
Tests user specifiable time stamps putting, getting and scanning.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility UTIL
private org.apache.hadoop.hbase.client.Admin admin
private static final int NUM_SLAVES
public org.junit.rules.TestName name
public TestMultiVersions()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void before() throws org.apache.hadoop.hbase.MasterNotRunningException, org.apache.hadoop.hbase.ZooKeeperConnectionException, IOException
org.apache.hadoop.hbase.MasterNotRunningException
org.apache.hadoop.hbase.ZooKeeperConnectionException
IOException
public void testTimestamps() throws Exception
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.
Exception
public void testGetRowVersions() throws Exception
Exception
public void testScanMultipleVersions() throws Exception
Tests five cases of scans and timestamps.
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.