Class TestDurability

java.lang.Object
org.apache.hadoop.hbase.regionserver.wal.TestDurability

@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests") public class TestDurability extends Object
Tests for WAL write durability
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static org.apache.hadoop.hdfs.MiniDFSCluster
     
    private static byte[]
     
    private static org.apache.hadoop.conf.Configuration
     
    private static org.apache.hadoop.fs.Path
     
    private static byte[]
     
    private static org.apache.hadoop.fs.FileSystem
     
    private String
     
    private static byte[]
     
    private static final HBaseTestingUtil
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestDurability(String walProvider)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private org.apache.hadoop.hbase.regionserver.HRegion
    createHRegion(org.apache.hadoop.hbase.client.TableDescriptor td, org.apache.hadoop.hbase.client.RegionInfo info, String dir, org.apache.hadoop.hbase.wal.WAL wal, org.apache.hadoop.hbase.client.Durability durability)
     
    private org.apache.hadoop.hbase.regionserver.HRegion
    createHRegion(org.apache.hadoop.hbase.wal.WALFactory wals, org.apache.hadoop.hbase.client.Durability durability)
     
    private org.apache.hadoop.hbase.client.Put
    newPut(org.apache.hadoop.hbase.client.Durability durability)
     
    static Stream<org.junit.jupiter.params.provider.Arguments>
     
    void
    setUp(org.junit.jupiter.api.TestInfo testInfo)
     
    static void
     
    void
     
    static void
     
    void
     
    void
     
    void
    Test when returnResults set to false in increment it should not return the result instead it resturn null.
    private void
    verifyWALCount(org.apache.hadoop.hbase.wal.WALFactory wals, org.apache.hadoop.hbase.wal.WAL log, int expected)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TEST_UTIL

      private static final HBaseTestingUtil TEST_UTIL
    • FS

      private static org.apache.hadoop.fs.FileSystem FS
    • CLUSTER

      private static org.apache.hadoop.hdfs.MiniDFSCluster CLUSTER
    • CONF

      private static org.apache.hadoop.conf.Configuration CONF
    • DIR

      private static org.apache.hadoop.fs.Path DIR
    • FAMILY

      private static byte[] FAMILY
    • ROW

      private static byte[] ROW
    • COL

      private static byte[] COL
    • walProvider

      private final String walProvider
    • name

      private String name
  • Constructor Details

  • Method Details