Skip to content

Commit 328df6a

Browse files
authored
HBASE-28576 Remove FirstKeyValueMatchingQualifiersFilter (#5891)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
1 parent 23fa363 commit 328df6a

File tree

2 files changed

+0
-53
lines changed

2 files changed

+0
-53
lines changed

hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.java

Lines changed: 0 additions & 47 deletions
This file was deleted.

hbase-server/src/test/java/org/apache/hadoop/hbase/TestPartialResultsFromClientSide.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static org.junit.Assert.assertEquals;
2222
import static org.junit.Assert.assertFalse;
2323
import static org.junit.Assert.assertNull;
24-
import static org.junit.Assert.assertThrows;
2524
import static org.junit.Assert.assertTrue;
2625
import static org.junit.Assert.fail;
2726

@@ -39,7 +38,6 @@
3938
import org.apache.hadoop.hbase.filter.ColumnRangeFilter;
4039
import org.apache.hadoop.hbase.filter.Filter;
4140
import org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter;
42-
import org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter;
4341
import org.apache.hadoop.hbase.filter.RandomRowFilter;
4442
import org.apache.hadoop.hbase.testclassification.LargeTests;
4543
import org.apache.hadoop.hbase.util.Bytes;
@@ -774,10 +772,6 @@ public void testPartialResultsWithColumnFilter() throws Exception {
774772
testPartialResultsWithColumnFilter(new ColumnPrefixFilter(Bytes.toBytes("testQualifier5")));
775773
testPartialResultsWithColumnFilter(new ColumnRangeFilter(Bytes.toBytes("testQualifer1"), true,
776774
Bytes.toBytes("testQualifier7"), true));
777-
778-
// Throw an Exception to the old version client to remind them not to use this filter anymore
779-
assertThrows("Stop using", DoNotRetryIOException.class,
780-
() -> testPartialResultsWithColumnFilter(new FirstKeyValueMatchingQualifiersFilter()));
781775
}
782776

783777
public void testPartialResultsWithColumnFilter(Filter filter) throws Exception {

0 commit comments

Comments
 (0)