hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [1/2] git commit: HBASE-11363 Access checks in preCompact and preCompactSelection are out of sync
Date Wed, 25 Jun 2014 00:11:32 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 ac5318900 -> 06be16919
  refs/heads/master 92179b8af -> b26fb383c


HBASE-11363 Access checks in preCompact and preCompactSelection are out of sync


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b26fb383
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b26fb383
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b26fb383

Branch: refs/heads/master
Commit: b26fb383cf988b4d06c110816ab0f52562ec104e
Parents: 92179b8
Author: Andrew Purtell <apurtell@apache.org>
Authored: Tue Jun 24 17:09:38 2014 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Tue Jun 24 17:09:38 2014 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hbase/security/access/AccessController.java  | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b26fb383/hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java
----------------------------------------------------------------------
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 977a403..0474884 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
@@ -1314,12 +1314,6 @@ public class AccessController extends BaseRegionObserver
   }
 
   @Override
-  public void preCompactSelection(final ObserverContext<RegionCoprocessorEnvironment>
e,
-      final Store store, final List<StoreFile> candidates) throws IOException {
-    requirePermission("compact", getTableName(e.getEnvironment()), null, null, Action.ADMIN);
-  }
-
-  @Override
   public void preGetClosestRowBefore(final ObserverContext<RegionCoprocessorEnvironment>
c,
       final byte [] row, final byte [] family, final Result result)
       throws IOException {


Mime
View raw message