setting the hiveser2 authorization to LDAP. I changed below properties to
hive.server2.authentication.ldap.url=ldap://hostFQDN:636(tried 389 too) hive.server2.authentication.ldap.baseDn=ou=xxxxx,dc=xxxx
Hive server log produces the following error:
Caused by: javax.security.sasl.AuthenticationException: LDAP Authentication failed for user [Caused by javax.naming.ServiceUnavailableException: hostFQDN.com:636; socket closed]
Do i need to change any parameters apart from these three?
Thanks in adv
hello @raghavendra v,
I'd start by checking if I'm able to run 'ldapsearch' using the above parameters from HiveServer2 node. If that works, then I'll move on to checking network and/or firewall etc. Once the 'ldapsearch' is good, I'll make sure to use same parameters in HS2 configuration. Even if, with working LDAP parameters, HS2 doesn't work, then I'll enable debug logging for HS2 and looks for clues there.
Hope this helps.