Support Questions
Find answers, ask questions, and share your expertise

Configuring Multiple LDAP at hive

Explorer

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

 
2 REPLIES 2

Rising Star

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 

 

https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.0.0/securing-hive/content/hive_secure_hiveserver_u...

 

If you are happy with the reply, mark it Accept as Solution

Contributor

@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 

 

; ;