Class TestMultiVersions

java.lang.Object
org.apache.hadoop.hbase.TestMultiVersions

public class TestMultiVersions extends Object
Port of old TestScanMultipleVersions, TestTimestamp and TestGetRowVersions from old testing framework to HBaseTestingUtility.
  • Field Details

  • Constructor Details

  • Method Details

    • setUpBeforeClass

      public static void setUpBeforeClass() throws Exception
      Throws:
      Exception
    • tearDownAfterClass

      public static void tearDownAfterClass() throws Exception
      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

      public void testTimestamps() throws Exception
      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

      public void testGetRowVersions() throws Exception
      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

      public void testScanMultipleVersions() throws Exception
      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