Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive server2 Authentication ServiceUnavailableException

Highlighted

hive server2 Authentication ServiceUnavailableException

Contributor

All,

setting the hiveser2 authorization to LDAP. I changed below properties to
hive.server2.authentication =LDAP

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

1 REPLY 1
Highlighted

Re: hive server2 Authentication ServiceUnavailableException

Guru

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.

Don't have an account?
Coming from Hortonworks? Activate your account here