ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [1/7] incubator-ranger git commit: RANGER-580 Coprocessors must explictly declare the CoprocessorService else it won't get registered in all contexts
Date Thu, 30 Jul 2015 21:39:30 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/tag-policy a87442a66 -> fcf0a6efd


RANGER-580 Coprocessors must explictly declare the CoprocessorService else it won't get registered
in all contexts

Signed-off-by: Madhan Neethiraj <madhan@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/21fe732a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/21fe732a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/21fe732a

Branch: refs/heads/tag-policy
Commit: 21fe732a8e31fda55832cd16bcaf96bf7e4b6755
Parents: f34eb3d
Author: Alok Lal <alal@hortonworks.com>
Authored: Sat Jul 25 22:14:50 2015 -0700
Committer: Madhan Neethiraj <madhan@apache.org>
Committed: Sun Jul 26 23:06:12 2015 -0700

----------------------------------------------------------------------
 .../authorization/hbase/XaSecureAuthorizationCoprocessor.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/21fe732a/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
----------------------------------------------------------------------
diff --git a/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
b/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
index 2a4f440..574a07c 100644
--- a/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
+++ b/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
@@ -18,6 +18,8 @@
  */
 package com.xasecure.authorization.hbase;
 
+import org.apache.hadoop.hbase.coprocessor.CoprocessorService;
+import org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos;
 import org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor;
 
 /**
@@ -28,6 +30,6 @@ import org.apache.ranger.authorization.hbase.RangerAuthorizationCoprocessor;
  * This class is final because if one needs to customize coprocessor it is expected that
RangerAuthorizationCoprocessor would be modified/extended as that is
  * the "real" coprocessor!  This class, hence, should NEVER be more than an EMPTY shell!
  */
-public final class XaSecureAuthorizationCoprocessor extends RangerAuthorizationCoprocessor
{
+public final class XaSecureAuthorizationCoprocessor extends RangerAuthorizationCoprocessor
implements AccessControlProtos.AccessControlService.Interface, CoprocessorService {
 
 }


Mime
View raw message