Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.7.3
-
None
-
None
Description
Steps to reproduce
--------------------------
- Enable Hive LDAP authentication.
- Add below configs to hive-env
alert_ldap_username alert_ldap_password
- Now perform service check.
- It fails with below exception.
2019-07-16 10:28:42,298 - Execute['beeline -n hive -u 'jdbc:hive2://xxxxx:10000/;transportMode=binary' -n 'xxxx' -p '[PROTECTED]' -e ';' 2>&1 | awk '{print}' | grep -i -e 'Connected to:' -e 'Transaction isolation:''] {'path': ['/bin/', '/usr/bin/', '/usr/lib/hive/bin/', '/usr/sbin/'], 'timeout_kill_strategy': 2, 'timeout': 30, 'user': 'ambari-qa'} 2019-07-16 10:28:45,880 - Connection to hdpnode02.aepsc.com on port 10000 failed
Root cause:
Ambari uses both the users in beeline. you can see hive as well as ldap user. ideally it should only use LDAP user.