You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2021/01/13 19:04:41 UTC

[hbase] 01/02: Revert "[branch-2.4] Restore AccessController method removed by HBASE-25277"

This is an automated email from the ASF dual-hosted git repository.

apurtell pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 6125d4ef8498447ae85c01f5864f323574da2115
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Wed Jan 13 10:59:13 2021 -0800

    Revert "[branch-2.4] Restore AccessController method removed by HBASE-25277"
    
    This reverts commit d3b1689f6051b541f9d2428a07b6e29d55e8a792.
---
 .../org/apache/hadoop/hbase/security/access/AccessController.java | 8 --------
 1 file changed, 8 deletions(-)

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 f67d6af..86884be 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,14 +1852,6 @@ public class AccessController implements MasterCoprocessor, RegionCoprocessor,
     scannerOwners.remove(s);
   }
 
-  @Override
-  @Deprecated // Removed in later versions by HBASE-25277
-  public boolean postScannerFilterRow(final ObserverContext<RegionCoprocessorEnvironment> 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