hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pxi...@apache.org
Subject hive git commit: HIVE-14424: Address CLIRestoreTest failure (Rajat Khandelwal, reviewed by Pengcheng Xiong)
Date Fri, 05 Aug 2016 17:57:23 GMT
Repository: hive
Updated Branches:
  refs/heads/master 80892ca28 -> a099a5cd2


HIVE-14424: Address CLIRestoreTest failure (Rajat Khandelwal, reviewed by Pengcheng Xiong)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a099a5cd
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a099a5cd
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a099a5cd

Branch: refs/heads/master
Commit: a099a5cd26d7f07aa221b15a64f4b9485b2ca0e3
Parents: 80892ca
Author: Pengcheng Xiong <pxiong@apache.org>
Authored: Fri Aug 5 10:57:04 2016 -0700
Committer: Pengcheng Xiong <pxiong@apache.org>
Committed: Fri Aug 5 10:57:04 2016 -0700

----------------------------------------------------------------------
 .../test/org/apache/hive/service/cli/CLIServiceRestoreTest.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/a099a5cd/service/src/test/org/apache/hive/service/cli/CLIServiceRestoreTest.java
----------------------------------------------------------------------
diff --git a/service/src/test/org/apache/hive/service/cli/CLIServiceRestoreTest.java b/service/src/test/org/apache/hive/service/cli/CLIServiceRestoreTest.java
index af0cc40..a049440 100644
--- a/service/src/test/org/apache/hive/service/cli/CLIServiceRestoreTest.java
+++ b/service/src/test/org/apache/hive/service/cli/CLIServiceRestoreTest.java
@@ -44,8 +44,11 @@ public class CLIServiceRestoreTest {
   }
 
   public CLIService getService() {
+    HiveConf conf = new HiveConf();
+    conf.setVar(HiveConf.ConfVars.HIVE_AUTHORIZATION_MANAGER,
+      "org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory");
     CLIService service = new CLIService(null);
-    service.init(new HiveConf());
+    service.init(conf);
     service.start();
     return service;
   }


Mime
View raw message