Skip to content

Commit

Permalink
HIVE-12224 temporary fix for dev build job
Browse files Browse the repository at this point in the history
  • Loading branch information
prongs committed Aug 4, 2016
1 parent 03deb8c commit 7c6b765
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ public void testRestore() throws HiveSQLException {
}

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;
}
Expand Down

0 comments on commit 7c6b765

Please sign in to comment.