HIVE-14099: Hive security authorization can be disabled by users (Aihua Xu, reviewed by Yongzhi Chen)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/96bcee86 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/96bcee86 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/96bcee86 Branch: refs/heads/repl2 Commit: 96bcee86c8df1c1a511fe70c1a37840d996abb9e Parents: 54ff3f5 Author: Aihua Xu <aihu...@apache.org> Authored: Wed Oct 5 10:19:33 2016 -0400 Committer: Aihua Xu <aihu...@apache.org> Committed: Wed Oct 5 10:19:33 2016 -0400 ---------------------------------------------------------------------- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/96bcee86/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java ---------------------------------------------------------------------- diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 4c3ef3e..5ea9751 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -3116,8 +3116,9 @@ public class HiveConf extends Configuration { HIVE_CONF_RESTRICTED_LIST("hive.conf.restricted.list", - "hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role," + - "hive.server2.xsrf.filter.enabled", + "hive.security.authenticator.manager,hive.security.authorization.manager," + + "hive.security.metastore.authorization.manager,hive.security.metastore.authenticator.manager," + + "hive.users.in.admin.role,hive.server2.xsrf.filter.enabled,hive.security.authorization.enabled", "Comma separated list of configuration options which are immutable at runtime"), HIVE_CONF_HIDDEN_LIST("hive.conf.hidden.list", METASTOREPWD.varname + "," + HIVE_SERVER2_SSL_KEYSTORE_PASSWORD.varname