diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java index 86884be50ee..f67d6afadba 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java @@ -1852,6 +1852,14 @@ public class AccessController implements MasterCoprocessor, RegionCoprocessor, scannerOwners.remove(s); } + @Override + @Deprecated // Removed in later versions by HBASE-25277 + public boolean postScannerFilterRow(final ObserverContext e, + final InternalScanner s, final Cell curRowCell, final boolean hasMore) throws IOException { + // 'default' in RegionObserver might do unnecessary copy for Off heap backed Cells. + return hasMore; + } + /** * Verify, when servicing an RPC, that the caller is the scanner owner. * If so, we assume that access control is correctly enforced based on