Created 11-08-2021 11:10 PM
Hi
Is there a way to configure multiple LDAP servers (LDAP HA) in the hive-site.xml ?
As of now we have only configured one LDAP server using below property:
<property> <name>hive.server2.authentication.ldap.url</name> <value>LDAP_URL</value> </property>
Our requirement is to config two LDAP servers to provide HA.
Thanks
Created 11-09-2021 06:44 AM
Hi @mhchethan
Generally, we suggest using a single LDAP URL. If you want more than one you can configure LB and that LB should connect to your backend
If you are happy with the reply, mark it Accept as Solution
Created 11-14-2021 01:59 AM
@mhchethan Yes, you could mention multiple LDAP URLs separated by spaces.
Hive will try the URLs in the mentioned order until a connection is successful.
Ref: hive.server2.authentication.ldap.url