Class TestDurability

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

public class TestDurability extends Object
Tests for WAL write durability
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HBaseClassTestRule
     
    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
     
    org.junit.rules.TestName
     
    private static byte[]
     
    private static final HBaseTestingUtil
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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)
     
    static Iterable<Object[]>
     
    private org.apache.hadoop.hbase.client.Put
    newPut(org.apache.hadoop.hbase.client.Durability durability)
     
    void
     
    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