Interconnecting Hive with External LDAP
This section applies to MRS 3.1.0 or later.
- Log in to Manager.
- On Manager, choose Cluster > Name of the desired cluster > Services > Hive > Configurations > All Configurations > HiveServer(Role) > Security.

- Set the following parameters.
Table 1 Parameter configuration Parameter
Description
Remarks
hive.server2.authentication
HiveServer authentication mode
Value: KERBEROS or LDAP
Default value: KERBEROS
hive.server2.authentication.ldap.baseDN
LDAP base DN
Example: dc=huawei,dc=com
hive.server2.authentication.ldap.password
LDAP password
LDAP password used for health check
hive.server2.authentication.ldap.url.ip
LDAP IP address
-
hive.server2.authentication.ldap.url.port
LDAP port number
Default value: 389
hive.server2.authentication.ldap.userDNPattern
LDAP user DN pattern
Example: cn=%s,ou=People,dc=huawei,dc=com
hive.server2.authentication.ldap.username
LDAP username
LDAP username used for health check
- After the modification, click Save in the upper left corner. In the displayed dialog box, click OK.
- Choose Cluster > Name of the desired cluster > Services > Hive > Instance. On the displayed page, select the instances whose Configuration Status is Expired, choose More > Restart Instance, and restart the instance.

Last Article: Hive Materialized View
Next Article: Hive Log Overview
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.