amarnath reddy pappu created AMBARI-25340:
---------------------------------------------

             Summary: Hive service check fails when LDAP auth is enabled
                 Key: AMBARI-25340
                 URL: https://issues.apache.org/jira/browse/AMBARI-25340
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.7.3
            Reporter: amarnath reddy pappu


Steps to reproduce

--------------------------
 # Enable Hive LDAP authentication.
 # Add below configs to hive-env

{noformat}
alert_ldap_username
alert_ldap_password{noformat}

 # Now perform service check.
 # It fails with below exception.
{noformat}
2019-07-16 10:28:42,298 - Execute['beeline -n hive -u 
'jdbc:hive2://hdpnode02.aepsc.com: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 
{noformat}

*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.

 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to