ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject incubator-ranger git commit: RANGER-433 Update hbase coprocessor class to implement new methods added to MasterObserver
Date Tue, 28 Apr 2015 01:13:55 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/master 27c81a236 -> c18adf686


RANGER-433 Update hbase coprocessor class to implement new methods added to MasterObserver

Signed-off-by: sneethiraj <sneethir@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/c18adf68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/c18adf68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/c18adf68

Branch: refs/heads/master
Commit: c18adf68670828bba3e8d54f9fc75625450c5c5b
Parents: 27c81a2
Author: Alok Lal <alal@hortonworks.com>
Authored: Mon Apr 27 17:23:47 2015 -0700
Committer: sneethiraj <sneethir@apache.org>
Committed: Mon Apr 27 21:06:15 2015 -0400

----------------------------------------------------------------------
 .../hbase/RangerAuthorizationCoprocessorBase.java       | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/c18adf68/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessorBase.java
----------------------------------------------------------------------
diff --git a/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessorBase.java
b/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessorBase.java
index 871f7f8..b9076b0 100644
--- a/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessorBase.java
+++ b/hbase-agent/src/main/java/org/apache/ranger/authorization/hbase/RangerAuthorizationCoprocessorBase.java
@@ -400,7 +400,17 @@ public abstract class RangerAuthorizationCoprocessorBase extends BaseRegionObser
 		// Not applicable.  Expected to be empty
 	}
 
-  public void preSetUserQuota(final ObserverContext<MasterCoprocessorEnvironment> ctx,
+	//TODO - add @Override directive when hbase changes to MasterObserver go mainstream
+	public void postListSnapshot( ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription
snapshot) throws IOException {
+		// Not applicable.  Expected to be empty
+	}
+
+	//TODO - add @Override directive when hbase changes to MasterObserver go mainstream
+	public void preListSnapshot( ObserverContext<MasterCoprocessorEnvironment> ctx, SnapshotDescription
snapshot) throws IOException {
+		// Not applicable.  Expected to be empty
+	}
+
+	public void preSetUserQuota(final ObserverContext<MasterCoprocessorEnvironment> ctx,
       final String userName, final Quotas quotas) throws IOException {
   }
 


Mime
View raw message