[
https://issues.apache.org/jira/browse/HIVE-9158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naveen Gangam updated HIVE-9158:
--------------------------------
Attachment: LDAPClient.java
I am attaching a sample client code that I used to test the multi-url ldap url.
java -cp $CLASSPATH -Durl="ldap://foo1.apache.org:389
ldap://foo2.apache.org:389 ldap://foo3.apache.org:389
ldap://realserver.domain.com:389" LDAPClient admin Test123
<output>
Provider URL pre-connect ldap://foo1.apache.org:389 ldap://foo2.apache.org:389
ldap://foo3.apache.org:389 ldap://realserver.domain.com:389
Provider URL post-connect ldap://realserver.domain.com:389
Closing the LDAP Connection
Only the last of the 4 LDAP URLs is a live host. Rest of them are non-existent
hosts.
> Multiple LDAP server URLs in hive.server2.authentication.ldap.url
> -----------------------------------------------------------------
>
> Key: HIVE-9158
> URL: https://issues.apache.org/jira/browse/HIVE-9158
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Affects Versions: 0.14.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Minor
> Attachments: LDAPClient.java
>
>
> Support for multiple LDAP servers for failover in the event that one stops
> responding or is down for maintenance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)