- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Configuring Multiple LDAP at hive
- Labels:
-
Apache Ambari
-
Apache Hive
Created ‎11-08-2021 11:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
hive.server2.authentication.ldap.url
<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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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
