I have setup LDAP authentication for Ambari and Hive. I can login successfully using a LDAP account into Ambari and Hive using the beeline command tool but when I try to access the Hive View through Ambari I get the following error:
H020 Could not establish connecton to <domain>:10000: org.apache.thrift.transport.TTransportException: Peer indicated failure: Error validating the login: org.apache.thrift.transport.TTransportException: Peer indicated failure: Error validating the login
Does any one know how to correctly setup the following Hive View properties in Manage Ambari>Views>Hive>Hive View ?
Specifically Hive Authentication. It currently says auth=NONE but im guessing this needs to be something LDAP related.
I saw this error when you try to use IPaddress while configuring ambari hive view configuration.
Can you make sure you are using hostname and not ipaddress in configuration.
Let me know if that works ?
Thanks - my cluster is non-kerberized but I tried changing auth=NONE to LDAP in the Hive View settings but it didn't help. Do you think I need to specify some credentials in this property perhaps?
You need to update 'auth=NONE' to the following:
This will prompt the user to enter their LDAP password within the Ambari Hive View and allow them to connect to Hive via LDAP auth.
Note, this configuration wasn't supported in older versions of Ambari.
Full details can be found in the following thread: https://community.hortonworks.com/answers/38709/view.html