Repository: incubator-ranger Updated Branches: refs/heads/tag-policy f2124c464 -> a87442a66
RANGER-580 Coprocessors must explictly declare the CoprocessorService else it won't get registered in all contexts Signed-off-by: Madhan Neethiraj <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/a87442a6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/a87442a6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/a87442a6 Branch: refs/heads/tag-policy Commit: a87442a666f6f8770ea48445e9f296cfbfc16a19 Parents: f2124c4 Author: Alok Lal <[email protected]> Authored: Sat Jul 25 22:14:50 2015 -0700 Committer: Madhan Neethiraj <[email protected]> Committed: Sun Jul 26 22:53:48 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/a87442a6/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 { }
