ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject incubator-ranger git commit: RANGER-791: update Hive plugin for the changes in HiveAuthorizer
Date Mon, 21 Dec 2015 20:49:16 GMT
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 <thejas.nair@gmail.com>
Authored: Mon Dec 21 12:48:18 2015 -0800
Committer: Madhan Neethiraj <madhan@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");
 	}


Mime
View raw message