Class TestWALEntrySinkFilter

java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestWALEntrySinkFilter

@Tag("org.apache.hadoop.hbase.testclassification.ReplicationTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests") public class TestWALEntrySinkFilter extends Object
Simple test of sink-side wal entry filter facility.
  • Field Details

  • Constructor Details

  • Method Details

    • testWALEntryFilter

      @Test public void testWALEntryFilter(org.junit.jupiter.api.TestInfo testInfo) throws IOException
      Test filter. Filter will filter out any write time that is <= 5 (BOUNDARY). We count how many items we filter out and we count how many cells make it through for distribution way down below in the Table#batch implementation. Puts in place a custom DevNullConnection so we can insert our counting Table.
      Throws:
      IOException