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.

Ambari asking for LDAP Password for Alerts

Ambari asking for LDAP Password for Alerts

Expert Contributor

My Ambari is not tied to LDAP and my HDP version is 2.6.

Under HIVE Config I see the following alert "LDAP password for Alerts" , Please refer to the screenshot:

screen-shot-2018-07-13-at-42527-pm.png

I am really not sure what password I am supposed provide here.

Please advise.

3 REPLIES 3

Re: Ambari asking for LDAP Password for Alerts

Super Mentor

@Kumar Veerappan


You will need to provide a LDAP user which ambari alerting system can use for hive thrift alerts.
Hive authentication type LDAP requires valid LDAP credentials for the alert. Means it needs to be set only when you have the "hive.server2.authentication" set to LDAP inside

Ambari UI --> HIve --> Configs --> Setting page (HiveServer2 Authentication dropdown)

Give username & passord of a valid LDAP user. This is user for alert checks like.

check_thrift_port_sasl https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/common-services...

check_thrift_port_sasl https://github.com/apache/ambari/blob/release-2.6.2/ambari-server/src/main/resources/common-services...

Highlighted

Re: Ambari asking for LDAP Password for Alerts

Super Collaborator
@Kumar Veerappan

If you have enabled LDAP authentication for Hive service, you would need to set "LDAP user for Alerts" and "LDAP password for Alerts" under Advanced hive-env configs in ambari.

User and password should be a valid LDAP account, this is required so that Ambari can validate the hive service when LDAP authentication is enabled on Hive service. Without these user/password ambari will not be able to connect to hive service to validate the services and will show the alert on Hive service.

This was implemented in Ambari 2.5.0 to fix the Hive Ambari alert bug https://issues.apache.org/jira/browse/AMBARI-19642

Re: Ambari asking for LDAP Password for Alerts

Expert Contributor

@rguruvannagari @Jay Kumar SenSharma In my environment hiveserver 2 authentication is Kerberos and not LDAP.

Anyways I just typed some word( as dummy password) in both the text boxes and restarted the hive service and it does not complain

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