You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ma...@apache.org on 2015/12/21 21:49:16 UTC

incubator-ranger git commit: RANGER-791: update Hive plugin for the changes in HiveAuthorizer

Repository: incubator-ranger
Updated Branches:
  refs/heads/master 80cef9d43 -> 1ba7d49e7


RANGER-791: update Hive plugin for the changes in HiveAuthorizer


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

Branch: refs/heads/master
Commit: 1ba7d49e7e852a2b7307460685ba22ba67469610
Parents: 80cef9d
Author: Thejas M Nair <th...@gmail.com>
Authored: Mon Dec 21 12:48:18 2015 -0800
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Mon Dec 21 12:48:58 2015 -0800

----------------------------------------------------------------------
 .../authorization/hive/authorizer/RangerHiveAuthorizerBase.java  | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/1ba7d49e/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java
index b584f8c..132849b 100644
--- a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java
+++ b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizerBase.java
@@ -217,6 +217,10 @@ public abstract class RangerHiveAuthorizerBase implements HiveAuthorizer {
 		throwNotImplementedException("setCurrentRole");
 	}
 
+	public  Object getHiveAuthorizationTranslator() throws HiveAuthzPluginException {
+		return null;
+	}
+
 	private void throwNotImplementedException(String method) throws HiveAuthzPluginException {
 		throw new HiveAuthzPluginException(method + "() not implemented in Ranger HiveAuthorizer");
 	}