ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject incubator-ranger git commit: RANGER-1116 : Ranger HivePluginUnitTest fails due to Hive Metastore version check
Date Thu, 21 Jul 2016 20:19:29 GMT
Repository: incubator-ranger
Updated Branches:
  refs/heads/master 847e0733b -> 62100cdbb


RANGER-1116 : Ranger HivePluginUnitTest fails due to Hive Metastore version check


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

Branch: refs/heads/master
Commit: 62100cdbb3eb5373ddf5d637a502ede20c813a76
Parents: 847e073
Author: rmani <rmani@hortonworks.com>
Authored: Thu Jul 21 12:33:50 2016 -0700
Committer: rmani <rmani@hortonworks.com>
Committed: Thu Jul 21 12:33:50 2016 -0700

----------------------------------------------------------------------
 .../org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/62100cdb/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
----------------------------------------------------------------------
diff --git a/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
b/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
index 4a80207..d3d67d9 100644
--- a/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
+++ b/hive-agent/src/test/java/org/apache/ranger/services/hive/HIVERangerAuthorizerTest.java
@@ -83,6 +83,7 @@ public class HIVERangerAuthorizerTest {
         conf.set(HiveConf.ConfVars.HIVE_SERVER2_ENABLE_DOAS.varname, "true");
         conf.set(HiveConf.ConfVars.HIVE_AUTHORIZATION_MANAGER.varname, 
                  "org.apache.ranger.authorization.hive.authorizer.RangerHiveAuthorizerFactory");
+        conf.set(HiveConf.ConfVars.METASTORE_SCHEMA_VERIFICATION.toString(), "false");
         
         hiveServer = new HiveServer2();
         hiveServer.init(conf);


Mime
View raw message