[ 
https://issues.apache.org/jira/browse/AMBARI-21288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ying Chen updated AMBARI-21288:
-------------------------------
    Attachment: AMBARI-21288.patch

Using alert_ldap_username and alert_ldap_password as input to construct beeline 
command. 

> Hive Check generates error in hiveserver2.log when LDAP is enabled
> ------------------------------------------------------------------
>
>                 Key: AMBARI-21288
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21288
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>         Environment: RHEL 7.2
>            Reporter: Ying Chen
>            Assignee: Ying Chen
>            Priority: Minor
>         Attachments: AMBARI-21288.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When running Hive Check with LDAP enabled,  while Hive Check passes, there 
> was exception logged in hiveserver2.log showing 
> javax.security.sasl.SaslException: Error validating the login [Caused by 
> javax.security.sasl.AuthenticationException: LDAP Authentication failed for 
> user [Caused by javax.naming.AuthenticationException: [LDAP: error code 49 - 
> Invalid Credentials]]]
> This is caused by the beeline call that is generated did not pass in a user 
> and password. 
> beeline -u 'jdbc:hive2://carmel2.fyre.ibm.com:10000/;transportMode=binary' -n 
> '' -p '[PROTECTED]' -e ''



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to