Class TestWALEntrySinkFilter
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestWALEntrySinkFilter
Simple test of sink-side wal entry filter facility.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
Simple filter that will filter out any entry wholse writeTime is <= 5. -
Field Summary
Modifier and TypeFieldDescription(package private) static final int
static final HBaseClassTestRule
(package private) static final AtomicInteger
org.junit.rules.TestName
(package private) static final AtomicInteger
-
Constructor Summary
-
Method Summary
-
Field Details
-
CLASS_RULE
-
name
-
BOUNDARY
- See Also:
-
UNFILTERED
-
FILTERED
-
-
Constructor Details
-
TestWALEntrySinkFilter
public TestWALEntrySinkFilter()
-
-
Method Details
-
testWALEntryFilter
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
-