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:40 UTC
[hbase] branch branch-2.4 updated (fc7a1c3 -> 645b564)
This is an automated email from the ASF dual-hosted git repository.
apurtell pushed a change to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git.
from fc7a1c3 HBASE-25502 IntegrationTestMTTR fails with TableNotFoundException (#2879)
new 6125d4e Revert "[branch-2.4] Restore AccessController method removed by HBASE-25277"
new 645b564 HBASE-25504 [branch-2.4] Restore method removed by HBASE-25277 to LP(CONFIG) coprocessors
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../hadoop/hbase/security/visibility/VisibilityController.java | 8 ++++++++
1 file changed, 8 insertions(+)
[hbase] 01/02: Revert "[branch-2.4] Restore AccessController method
removed by HBASE-25277"
Posted by ap...@apache.org.
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
[hbase] 02/02: HBASE-25504 [branch-2.4] Restore method removed by
HBASE-25277 to LP(CONFIG) coprocessors
Posted by ap...@apache.org.
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 645b5643105bd31fee1dcae65f44aa852bf27018
Author: Andrew Purtell <ap...@apache.org>
AuthorDate: Wed Jan 13 10:21:29 2021 -0800
HBASE-25504 [branch-2.4] Restore method removed by HBASE-25277 to LP(CONFIG) coprocessors
Restore removed method overrides for AccessController and VisibilityController,
which are both LimitedPrivate(CONFIG) interfaces and per compatibility
guidelines cannot have methods removed in patch releases.
Signed-off-by: Andrew Purtell <ap...@apache.org>
---
.../org/apache/hadoop/hbase/security/access/AccessController.java | 8 ++++++++
.../hadoop/hbase/security/visibility/VisibilityController.java | 8 ++++++++
2 files changed, 16 insertions(+)
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 86884be..f67d6af 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<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
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
index c8a6dcd..b6f3a84 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java
@@ -568,6 +568,14 @@ public class VisibilityController implements MasterCoprocessor, RegionCoprocesso
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 the checks performed in preScannerOpen()