You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ma...@apache.org on 2019/10/10 04:52:37 UTC
[hive] branch master updated: HIVE-22313 : Some of the HMS auth
LDAP hive config names do not start with hive. (Ashutosh Bapat reviewed by
Mahesh Kumar Behera)
This is an automated email from the ASF dual-hosted git repository.
mahesh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 37a0675 HIVE-22313 : Some of the HMS auth LDAP hive config names do not start with hive. (Ashutosh Bapat reviewed by Mahesh Kumar Behera)
37a0675 is described below
commit 37a0675a03e66be2667a550d9c89f5566c12ec41
Author: Ashutosh Bapat <ab...@cloudera.com>
AuthorDate: Thu Oct 10 10:21:06 2019 +0530
HIVE-22313 : Some of the HMS auth LDAP hive config names do not start with hive. (Ashutosh Bapat reviewed by Mahesh Kumar Behera)
Signed-off-by: Mahesh Kumar Behera <ma...@apache.org>
---
.../java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
index 3f69ad8..a496a59 100644
--- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
+++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java
@@ -657,13 +657,13 @@ public class MetastoreConf {
"The implementation may optionally implement Hadoop's\n" +
"org.apache.hadoop.conf.Configurable class to grab MetaStore's Configuration object."),
METASTORE_PLAIN_LDAP_URL("metastore.authentication.ldap.url",
- "metastore.authentication.ldap.url", "",
+ "hive.metastore.authentication.ldap.url", "",
"LDAP connection URL(s),\n" +
"this value could contain URLs to multiple LDAP servers instances for HA,\n" +
"each LDAP URL is separated by a SPACE character. URLs are used in the \n" +
" order specified until a connection is successful."),
METASTORE_PLAIN_LDAP_BASEDN("metastore.authentication.ldap.baseDN",
- "metastore.authentication.ldap.baseDN", "", "LDAP base DN"),
+ "hive.metastore.authentication.ldap.baseDN", "", "LDAP base DN"),
METASTORE_PLAIN_LDAP_DOMAIN("metastore.authentication.ldap.Domain",
"hive.metastore.authentication.ldap.Domain", "", ""),
METASTORE_PLAIN_LDAP_GROUPDNPATTERN("metastore.authentication.ldap.groupDNPattern",
@@ -676,7 +676,7 @@ public class MetastoreConf {
"COMMA-separated list of LDAP Group names (short name not full DNs).\n" +
"For example: HiveAdmins,HadoopAdmins,Administrators"),
METASTORE_PLAIN_LDAP_USERDNPATTERN("metastore.authentication.ldap.userDNPattern",
- "metastore.authentication.ldap.userDNPattern", "",
+ "hive.metastore.authentication.ldap.userDNPattern", "",
"COLON-separated list of patterns to use to find DNs for users in this directory.\n" +
"Use %s where the actual group name is to be substituted for.\n" +
"For example: CN=%s,CN=Users,DC=subdomain,DC=domain,DC=com."),
@@ -689,7 +689,7 @@ public class MetastoreConf {
"LDAP attribute name whose values are unique in this LDAP server.\n" +
"For example: uid or CN."),
METASTORE_PLAIN_LDAP_GROUPMEMBERSHIP_KEY("metastore.authentication.ldap.groupMembershipKey",
- "metastore.authentication.ldap.groupMembershipKey",
+ "hive.metastore.authentication.ldap.groupMembershipKey",
"member",
"LDAP attribute name on the group object that contains the list of distinguished names\n" +
"for the user, group, and contact objects that are members of the group.\n" +